]> git.webhop.me Git - lcd4linux.git/commitdiff
string compare is not case sensitive anymore
authormichux <michux@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Thu, 26 Mar 2009 08:11:33 +0000 (08:11 +0000)
committermichux <michux@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Thu, 26 Mar 2009 08:11:33 +0000 (08:11 +0000)
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1003 3ae390bd-cb1e-0410-b409-cd5a39f66f1f

drv_generic_graphic.c

index ba91123568190a8fb3e0e23a2711f8a65743d878..985544fe257ad6a73d1b67af14086eb18e6aa7f7 100644 (file)
@@ -252,7 +252,7 @@ static void drv_generic_graphic_render(const int layer, const int row, const int
     while (*txt != '\0') {
        unsigned char *chr;
 
-       if (strcasestr(style, "bold") != NULL) {
+       if (strstr(style, "bold") != NULL) {
            chr = Font_6x8_bold[(int) *(unsigned char *) txt];
        } else {
            chr = Font_6x8[(int) *(unsigned char *) txt];