Mercurial > geeqie
comparison src/bar_histogram.c @ 1315:c1d108ab3388
Since READ_*() macros are now exported, do not hide
the if() continue; statement in them.
Wrap WRITE_STRING() instructions in a safer do {} while (0).
author | zas_ |
---|---|
date | Tue, 24 Feb 2009 17:47:45 +0000 |
parents | 8cca18bce950 |
children | 358685fb9dc9 |
comparison
equal
deleted
inserted
replaced
1314:8cca18bce950 | 1315:c1d108ab3388 |
---|---|
197 while (*attribute_names) | 197 while (*attribute_names) |
198 { | 198 { |
199 const gchar *option = *attribute_names++; | 199 const gchar *option = *attribute_names++; |
200 const gchar *value = *attribute_values++; | 200 const gchar *value = *attribute_values++; |
201 | 201 |
202 READ_CHAR_FULL("pane.title", title); | 202 if (READ_CHAR_FULL("pane.title", title)) continue; |
203 READ_BOOL_FULL("pane.expanded", expanded); | 203 if (READ_BOOL_FULL("pane.expanded", expanded)) continue; |
204 | 204 |
205 | 205 |
206 DEBUG_1("unknown attribute %s = %s", option, value); | 206 DEBUG_1("unknown attribute %s = %s", option, value); |
207 } | 207 } |
208 | 208 |