summaryrefslogtreecommitdiff
path: root/japanese/namazu2/patches/patch-ae
blob: e00edefb78eeb4b5354fe0c878413a295085ea16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-ae,v 1.1 2001/08/21 14:01:19 taca Exp $

--- nmz/l10n-ja.c.orig	Thu Jun 21 15:21:32 2001
+++ nmz/l10n-ja.c
@@ -47,13 +47,13 @@
     const char *lang;
 
     lang = nmz_get_lang_ctype();
-    if (strcmp(lang, "japanese")) {
+    if (strcmp(lang, "japanese") == 0) {
 	return 1; /* TRUE */
     } 
-    if (strcmp(lang, "ja")) {
+    if (strcmp(lang, "ja") == 0) {
 	return 1; /* TRUE */
     } 
-    if (strncmp(lang, "ja_JP", 5)) {
+    if (strncmp(lang, "ja_JP", 5) == 0) {
 	return 1; /* TRUE */
     } 
     return 0; /* FALSE */