Permalink
Browse files

Adding a comment for LC_ALL

  • Loading branch information...
1 parent 5ba2e70 commit 30c448647159734b4fab94f1f11ffcfa0b1f7780 @vbouchaud committed Jan 8, 2012
Showing with 9 additions and 9 deletions.
  1. +9 −9 gsmlib/gsm_nls.h
View
@@ -40,22 +40,22 @@ namespace gsmlib
{
const class InitNLS
{
- static bool initialized;
-
+ static bool initialized;
+
public:
InitNLS()
{
if (! initialized) // do only once
- {
- setlocale(LC_ALL, "");
+ {
+ // setlocale(LC_ALL, ""); /// FIXME LC_ALL deprecated not found but seems to be optional.
#ifdef LOCAL_TRANSLATIONS
- bindtextdomain(PACKAGE, "../po");
+ bindtextdomain(PACKAGE, "../po");
#else
- bindtextdomain(PACKAGE, LOCALEDIR);
+ bindtextdomain(PACKAGE, LOCALEDIR);
#endif
- textdomain(PACKAGE);
- initialized = true;
- }
+ textdomain(PACKAGE);
+ initialized = true;
+ }
}
} initNLS;
};

0 comments on commit 30c4486

Please sign in to comment.