mirror of https://github.com/GNOME/gimp.git
use g_strcasecmp()
This commit is contained in:
parent
65e2d6016a
commit
1ebe8d5b28
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
;
|
||||
|
|
Loading…
Reference in New Issue