Mercurial > geeqie
diff src/bar_sort.c @ 1461:e015b6573d36
improved config file formatting
author | nadvornik |
---|---|
date | Thu, 19 Mar 2009 22:12:14 +0000 |
parents | 1817f5178db3 |
children | 1b3751ac4743 |
line wrap: on
line diff
--- a/src/bar_sort.c Tue Mar 17 23:03:07 2009 +0000 +++ b/src/bar_sort.c Thu Mar 19 22:12:14 2009 +0000 @@ -723,15 +723,13 @@ sd = g_object_get_data(G_OBJECT(bar), "bar_sort_data"); if (!sd) return; - WRITE_STRING("<bar_sort\n"); - indent++; + WRITE_NL(); WRITE_STRING("<bar_sort "); write_bool_option(outstr, indent, "enabled", GTK_WIDGET_VISIBLE(bar)); WRITE_INT(*sd, mode); WRITE_INT(*sd, action); WRITE_INT(*sd, selection); WRITE_CHAR(*sd, filter_key); - indent--; - WRITE_STRING("/>\n"); + WRITE_STRING("/>"); }