--- np2/generic/softkbd.c 2004/04/08 13:08:22 1.10 +++ np2/generic/softkbd.c 2004/07/29 15:15:35 1.12 @@ -24,9 +24,13 @@ typedef struct { static SOFTKBD softkbd; #if (SUPPORT_SOFTKBD == 1) +#if defined(SIZE_QVGA) #include "softkbd1.res" -#elif (SUPPORT_SOFTKBD == 2) +#else #include "softkbd2.res" +#endif +#elif (SUPPORT_SOFTKBD == 2) +#error not support (SUPPORT_SOFTKBD == 2) #else #if !defined(SUPPORT_PC9801_119) #include "softkbd.res" @@ -51,6 +55,7 @@ static void loadbmp(const char *filename } } softkbd.flag |= SOFTKEY_FLAGREDRAW; + (void)filename; } void softkbd_initialize(void) {