use g_strcasecmp()

This commit is contained in:
Asbjørn Pettersen 1999-09-07 11:14:43 +00:00
parent 65e2d6016a
commit 1ebe8d5b28
2 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,10 @@
Tue Sep 7 13:11:20 1999 ape@gandalf.spacetec.no (Asbjorn Pettersen)
* plug-ins/imagemap/imap_csim_parse.c: use g_strcasecmp() instead of
strcasecmp().
* plug-ins/imagemap/imap_file.c: Add <sys/types.h>.
Tue Sep 7 12:59:18 MEST 1999 Sven Neumann <sven@gimp.org>
* app/commands.c: correct the bug that Garry R. Osgood reported.

View File

@ -838,16 +838,16 @@ case 23:
case 36:
#line 159 "imap_csim.y"
{
if (!strcasecmp(yyvsp[0].id, "RECT")) {
if (!g_strcasecmp(yyvsp[0].id, "RECT")) {
current_object = create_rectangle(0, 0, 0, 0);
current_type = RECTANGLE;
} else if (!strcasecmp(yyvsp[0].id, "CIRCLE")) {
} else if (!g_strcasecmp(yyvsp[0].id, "CIRCLE")) {
current_object = create_circle(0, 0, 0);
current_type = CIRCLE;
} else if (!strcasecmp(yyvsp[0].id, "POLY")) {
} else if (!g_strcasecmp(yyvsp[0].id, "POLY")) {
current_object = create_polygon(NULL);
current_type = POLYGON;
} else if (!strcasecmp(yyvsp[0].id, "DEFAULT")) {
} else if (!g_strcasecmp(yyvsp[0].id, "DEFAULT")) {
current_type = UNDEFINED;
}
;