Mercurial > geeqie
comparison src/bar_comment.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 | eebb8d0cb677 |
comparison
equal
deleted
inserted
replaced
1314:8cca18bce950 | 1315:c1d108ab3388 |
---|---|
269 while (*attribute_names) | 269 while (*attribute_names) |
270 { | 270 { |
271 const gchar *option = *attribute_names++; | 271 const gchar *option = *attribute_names++; |
272 const gchar *value = *attribute_values++; | 272 const gchar *value = *attribute_values++; |
273 | 273 |
274 READ_CHAR_FULL("pane.title", title); | 274 if (READ_CHAR_FULL("pane.title", title)) continue; |
275 READ_CHAR_FULL("key", key); | 275 if (READ_CHAR_FULL("key", key)) continue; |
276 READ_BOOL_FULL("pane.expanded", expanded); | 276 if (READ_BOOL_FULL("pane.expanded", expanded)) continue; |
277 READ_INT_FULL("height", height); | 277 if (READ_INT_FULL("height", height)) continue; |
278 | 278 |
279 | 279 |
280 DEBUG_1("unknown attribute %s = %s", option, value); | 280 DEBUG_1("unknown attribute %s = %s", option, value); |
281 } | 281 } |
282 | 282 |