From: michux Date: Thu, 26 Mar 2009 08:11:33 +0000 (+0000) Subject: string compare is not case sensitive anymore X-Git-Tag: svn1203~200 X-Git-Url: https://git.webhop.me/?a=commitdiff_plain;h=83e9869a64765a235290b3ebf6b42535e4d64581;p=lcd4linux.git string compare is not case sensitive anymore git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1003 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- diff --git a/drv_generic_graphic.c b/drv_generic_graphic.c index ba91123..985544f 100644 --- a/drv_generic_graphic.c +++ b/drv_generic_graphic.c @@ -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];