rewrote so gcc-3.0 doesn't complain.
2001-10-29 Sven Neumann <sven@gimp.org> * app/base/temp-buf.c (temp_buf_to_gray): rewrote so gcc-3.0 doesn't complain. * app/widgets/gimpfontselection-dialog.c: use g_ascii_strcasecmp(). * libgimp/gimpintl.h * libgimp/stdplugins-intl.h * plug-ins/script-fu/script-fu-intl.h: don't call gtk_set_locale() since gtk_init() does it for us now. Don't set LC_NUMERIC to "C". INIT_I18N_UI() is the same as INIT_I18N_UI() now. * app/devices.c * app/gimprc.c * app/core/gimpbrushgenerated.c * app/core/gimpgradient.c * app/gui/color-notebook.c * app/gui/gradients-commands.c * plug-ins/gfig/gfig.c * plug-ins/gflare/gflare.c * plug-ins/gimpressionist/presets.c * plug-ins/ifscompose/ifscompose_storage.c: use g_ascii_formatd() and g_ascii_strtod() to serialize and deserialize floats. These functions are locale-independent. There are probably more places that need to be fixed in this fashion. * plug-ins/script-fu/script-fu-console.c * plug-ins/script-fu/script-fu-scripts.c * plug-ins/script-fu/script-fu-server.c * plug-ins/script-fu/script-fu.c: s/INIT_I18N_UI/INIT_I18N/ * tools/gimp-remote.c * app/widgets/gimpwidgets-utils.c * app/core/gimpimage-contiguous-region.c * app/paint-funcs/paint-funcs-indexeda.c * app/paint-funcs/paint-funcs.c * app/tools/gimppathtool.c * app/tools/path_tool.c * modules/colorsel_triangle.c * plug-ins/common/mpeg.c * plug-ins/imagemap/imap_csim_parse.c: cleanups
This commit is contained in:

committed by
Sven Neumann

parent
05e15eb1cc
commit
de5af18f87
@ -882,16 +882,16 @@ case 23:
|
||||
case 36:
|
||||
#line 159 "imap_csim.y"
|
||||
{
|
||||
if (!g_strcasecmp(yyvsp[0].id, "RECT")) {
|
||||
if (!g_ascii_strcasecmp(yyvsp[0].id, "RECT")) {
|
||||
current_object = create_rectangle(0, 0, 0, 0);
|
||||
current_type = RECTANGLE;
|
||||
} else if (!g_strcasecmp(yyvsp[0].id, "CIRCLE")) {
|
||||
} else if (!g_ascii_strcasecmp(yyvsp[0].id, "CIRCLE")) {
|
||||
current_object = create_circle(0, 0, 0);
|
||||
current_type = CIRCLE;
|
||||
} else if (!g_strcasecmp(yyvsp[0].id, "POLY")) {
|
||||
} else if (!g_ascii_strcasecmp(yyvsp[0].id, "POLY")) {
|
||||
current_object = create_polygon(NULL);
|
||||
current_type = POLYGON;
|
||||
} else if (!g_strcasecmp(yyvsp[0].id, "DEFAULT")) {
|
||||
} else if (!g_ascii_strcasecmp(yyvsp[0].id, "DEFAULT")) {
|
||||
current_type = UNDEFINED;
|
||||
}
|
||||
;
|
||||
|
Reference in New Issue
Block a user