summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-09-09 12:33:05 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-09-09 12:33:05 +0000
commitc06a55b7ef15156f64b1b13a8a3b28d4b493e6f0 (patch)
tree738b3c08f455afb2220a39008ac872c987ba0002
parent52ef78b1b0a028f042e0c29f832945e3dda38d5c (diff)
more portable is better
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2234 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--tools/bdf2ajf.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/tools/bdf2ajf.c b/tools/bdf2ajf.c
index fcd44785cb..1e534f0006 100644
--- a/tools/bdf2ajf.c
+++ b/tools/bdf2ajf.c
@@ -24,9 +24,7 @@
int _font_error_code = 0;
char _font_error_msg[1024];
-#ifndef VC
-#define strcmpi(x,y) strcasecmp(x,y)
-#endif
+
short win_alt_map[] = {
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, /* 00 - 0f */
@@ -103,26 +101,26 @@ int main(int argc, char** argv)
for(i=1;i<argc;i++)
{
- if (!strcmpi(argv[i], "-f"))
+ if (!strcmp(argv[i], "-f"))
{
i++;
if (i==argc) usage();
strcpy(in_file, argv[i]);
}
- else if (!strcmpi(argv[i], "-o"))
+ else if (!strcmp(argv[i], "-o"))
{
i++;
if (i==argc) usage();
strcpy(out_file, argv[i]);
}
- else if (!strcmpi(argv[i], "-t"))
+ else if (!strcmp(argv[i], "-t"))
{
i++;
if (i==argc) usage();
do_test1 = 1;
strcpy(test_str1, argv[i]);
}
- else if (!strcmpi(argv[i], "-t2"))
+ else if (!strcmp(argv[i], "-t2"))
{
i++;
if (i==argc) usage();