diff options
Diffstat (limited to 'amiga/system_colour.c')
-rw-r--r-- | amiga/system_colour.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/amiga/system_colour.c b/amiga/system_colour.c index 687d0231b..8ea0ab3d3 100644 --- a/amiga/system_colour.c +++ b/amiga/system_colour.c @@ -313,9 +313,7 @@ colour gui_system_colour_char(const char *name) unsigned int ccount; for (ccount = 0; ccount < colour_list_len; ccount++) { - if (strncasecmp(name, - colour_list[ccount].name, - colour_list[ccount].length) == 0) { + if (strcmp(name, colour_list[ccount].name) == 0) { ret = colour_list[ccount].colour; break; } |