wince languages fix by SandySandy

This commit is contained in:
p.kosyh 2010-11-23 09:31:53 +00:00
parent a1c4468c59
commit 8f4f76b0c5
2 changed files with 4 additions and 3 deletions

3
debian/changelog vendored
View file

@ -1,6 +1,7 @@
instead (1.3.1) unstable; urgency=low
* bug fix (imgl and justify);
* bug fix (languages in WinCE version);
-- Peter Kosyh <p.kosyh@gmail.com> Mon, 22 Nov 2010 11:17:00 +0300
@ -23,7 +24,7 @@ instead (1.3.0) unstable; urgency=low
* txttab;
* tutorial update;
-- Peter Kosyh <p.kosyh@gmail.com> Tue, 12 Oct 2010 22:42:00 +0300
-- Peter Kosyh <p.kosyh@gmail.com> Tue, 12 Nov 2010 22:42:00 +0300
instead (1.2.3) unstable; urgency=low

View file

@ -747,9 +747,9 @@ static int is_lang(const char *path, const char *n)
return 0;
free(p);
if (!(p = strstr(n, ".ini")))
if (!(p = strstr(n, ".ini")) && !(p = strstr(n, ".INI")))
return 0;
if (strcmp(p, ".ini"))
if (strcmp(p, ".ini") && strcmp(p, ".INI"))
return 0;
return 1;
}