diff options
author | michux <michux@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2009-03-26 08:11:33 +0000 |
---|---|---|
committer | michux <michux@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2009-03-26 08:11:33 +0000 |
commit | 83e9869a64765a235290b3ebf6b42535e4d64581 (patch) | |
tree | c4cf20c77a48320e77b68e1440bdaa120e264897 | |
parent | b83507bad699d4c9d3387d52d2aa41e29399ea41 (diff) | |
download | lcd4linux-83e9869a64765a235290b3ebf6b42535e4d64581.tar.gz |
string compare is not case sensitive anymore
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1003 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to '')
-rw-r--r-- | drv_generic_graphic.c | 2 |
1 files changed, 1 insertions, 1 deletions
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]; |