]> git.deb.at Git - pkg/abook.git/blobdiff - gettext.c
Upload 0.6.1-2 to unstable
[pkg/abook.git] / gettext.c
index 949e843b4caa7e6f7e17ea944ca2fad7e8605251..0dd9dbf7f9fc46b4ddcd22c9e912e8956691e595 100644 (file)
--- a/gettext.c
+++ b/gettext.c
@@ -2,18 +2,17 @@
 #      include "config.h"
 #endif
 
-#ifdef ENABLE_NLS
 #include <string.h>
 #include "gettext.h"
 
-char *
+const char *
 sgettext(const char *msgid)
 {
-       char *msgval = gettext(msgid);
+       const char *msgval = gettext(msgid);
 
        if(msgval == msgid)
                msgval = strrchr(msgid, '|') + 1;
 
        return msgval;
 }
-#endif
+