From 1ebe8d5b2896a8584d930bdeb8b11480f52eecfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Asbj=C3=B8rn=20Pettersen?= Date: Tue, 7 Sep 1999 11:14:43 +0000 Subject: [PATCH] use g_strcasecmp() --- ChangeLog | 7 +++++++ plug-ins/imagemap/imap_csim_parse.c | 8 ++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index afd709097f..1b431e81e3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 . + Tue Sep 7 12:59:18 MEST 1999 Sven Neumann * app/commands.c: correct the bug that Garry R. Osgood reported. diff --git a/plug-ins/imagemap/imap_csim_parse.c b/plug-ins/imagemap/imap_csim_parse.c index 835e7d6cfc..86c73d4320 100644 --- a/plug-ins/imagemap/imap_csim_parse.c +++ b/plug-ins/imagemap/imap_csim_parse.c @@ -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; } ;