Mercurial > geeqie
changeset 216:a57b153e7fa4
Indentation and white lines minor fixes.
author | zas_ |
---|---|
date | Mon, 31 Mar 2008 07:29:03 +0000 |
parents | f2b439c7f973 |
children | 5bdab7ed4bcd |
files | src/image-overlay.c |
diffstat | 1 files changed, 10 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/src/image-overlay.c Sun Mar 30 19:26:35 2008 +0000 +++ b/src/image-overlay.c Mon Mar 31 07:29:03 2008 +0000 @@ -88,8 +88,8 @@ gint n, t; CollectionData *cd; CollectInfo *info; - gchar *ct; - int i; + gchar *ct; + int i; name = image_get_name(imd); if (name) @@ -179,23 +179,21 @@ w, h, text_from_time(imd->mtime), size); - - - } + } g_free(size); g_free(ct); g_free(name_escaped); { - GString *buf = g_string_sized_new(FILEDATA_MARKS_SIZE * 2); - FileData *fd = image_get_fd(imd); + GString *buf = g_string_sized_new(FILEDATA_MARKS_SIZE * 2); + FileData *fd = image_get_fd(imd); - for (i=0; i < FILEDATA_MARKS_SIZE; i++) - { + for (i=0; i < FILEDATA_MARKS_SIZE; i++) + { - g_string_append_printf(buf, fd->marks[i] ? " <span background='#FF00FF'>%c</span>" : " %c", '1' + i); - } - text2 = g_strdup_printf("%s\n%s", text, buf->str); + g_string_append_printf(buf, fd->marks[i] ? " <span background='#FF00FF'>%c</span>" : " %c", '1' + i); + } + text2 = g_strdup_printf("%s\n%s", text, buf->str); } layout = gtk_widget_create_pango_layout(imd->pr, NULL); @@ -596,4 +594,3 @@ image_osd_update_schedule(osd, FALSE); image_osd_timer_schedule(osd); } -