Mercurial > geeqie
comparison src/preferences.c @ 517:d84f2210a73c
6 for() vs 201 for (): winner is for ().
author | zas_ |
---|---|
date | Thu, 24 Apr 2008 15:53:08 +0000 |
parents | 985fdfebd89e |
children | b5e79bcb46df |
comparison
equal
deleted
inserted
replaced
516:b7e99bfeadc9 | 517:d84f2210a73c |
---|---|
152 const gchar *buf; | 152 const gchar *buf; |
153 gint new_style; | 153 gint new_style; |
154 gint i; | 154 gint i; |
155 gint refresh = FALSE; | 155 gint refresh = FALSE; |
156 | 156 |
157 for(i = 0; i < GQ_EDITOR_SLOTS; i++) | 157 for (i = 0; i < GQ_EDITOR_SLOTS; i++) |
158 { | 158 { |
159 if (i < GQ_EDITOR_GENERIC_SLOTS) | 159 if (i < GQ_EDITOR_GENERIC_SLOTS) |
160 { | 160 { |
161 g_free(options->editor_name[i]); | 161 g_free(options->editor_name[i]); |
162 options->editor_name[i] = NULL; | 162 options->editor_name[i] = NULL; |