diff options
author | fluxgen <fluxgen> | 2002-04-04 11:28:19 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-04-04 11:28:19 (GMT) |
commit | 2526e4bce821eedcd4bcc13e0f27ac7b9e255350 (patch) | |
tree | f86898efe146ecb882e597955e1e94b375154b19 /src/i18n.cc | |
parent | bd05695cfa6d066e5e5368d857eef8c0b11987c1 (diff) | |
download | fluxbox-2526e4bce821eedcd4bcc13e0f27ac7b9e255350.zip fluxbox-2526e4bce821eedcd4bcc13e0f27ac7b9e255350.tar.bz2 |
moved nls defines to enums in namespace FBNLS
Diffstat (limited to 'src/i18n.cc')
-rw-r--r-- | src/i18n.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/i18n.cc b/src/i18n.cc index 85c170e..10aab7e 100644 --- a/src/i18n.cc +++ b/src/i18n.cc | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: i18n.cc,v 1.3 2002/04/04 00:21:48 fluxgen Exp $ | 25 | // $Id: i18n.cc,v 1.4 2002/04/04 11:28:19 fluxgen Exp $ |
26 | 26 | ||
27 | //usr GNU extensions | 27 | //usr GNU extensions |
28 | #ifndef _GNU_SOURCE | 28 | #ifndef _GNU_SOURCE |
@@ -58,7 +58,7 @@ void NLSInit(const char *catalog) { | |||
58 | } | 58 | } |
59 | 59 | ||
60 | 60 | ||
61 | I18n::I18n():m_multibyte(false), m_catalog_fd(0) { | 61 | I18n::I18n():m_multibyte(false), m_catalog_fd(-1) { |
62 | #ifdef HAVE_SETLOCALE | 62 | #ifdef HAVE_SETLOCALE |
63 | //make sure we don't get 0 to m_locale string | 63 | //make sure we don't get 0 to m_locale string |
64 | char *temp = setlocale(LC_ALL, ""); | 64 | char *temp = setlocale(LC_ALL, ""); |