]> git.lyx.org Git - lyx.git/blobdiff - src/gettext.C
Minor code shuffle.
[lyx.git] / src / gettext.C
index 08a948e8f40d07dc416317f21ea084b9e41d1093..f9163fcb34416c2d1b30b4cbbd377a18f53f0ad8 100644 (file)
@@ -1,4 +1,3 @@
-// -*- C++ -*-
 /* This file is part of
  * ====================================================== 
  * 
 
 #include <config.h>
 
-#ifdef ENABLE_NLS
-
 #include "LString.h"
 
+#ifdef ENABLE_NLS
+
 #  if HAVE_GETTEXT
 #    include <libintl.h>      // use the header already in the system *EK*
 #    ifdef HAVE_LOCALE_H
@@ -67,4 +66,13 @@ void gettext_init(string const & localedir)
 }
 
 
+#else // ENABLE_NLS
+
+void locale_init()
+{
+}
+
+void gettext_init(string const &)
+{
+}
 #endif