aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/image.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/image.c b/src/image.c
index 3d761bd48be..b77c12b4cbc 100644
--- a/src/image.c
+++ b/src/image.c
@@ -6249,9 +6249,7 @@ static const char xpm_color_key_strings[][4] = {"s", "m", "g4", "g", "c"};
6249static int 6249static int
6250xpm_str_to_color_key (const char *s) 6250xpm_str_to_color_key (const char *s)
6251{ 6251{
6252 int i; 6252 for (int i = 0; i < ARRAYELTS (xpm_color_key_strings); i++)
6253
6254 for (i = 0; i < ARRAYELTS (xpm_color_key_strings); i++)
6255 if (strcmp (xpm_color_key_strings[i], s) == 0) 6253 if (strcmp (xpm_color_key_strings[i], s) == 0)
6256 return i; 6254 return i;
6257 return -1; 6255 return -1;