From 83e9869a64765a235290b3ebf6b42535e4d64581 Mon Sep 17 00:00:00 2001 From: michux Date: Thu, 26 Mar 2009 08:11:33 +0000 Subject: string compare is not case sensitive anymore git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1003 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- drv_generic_graphic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drv_generic_graphic.c') 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]; -- cgit v1.2.3