Mercurial > geeqie
diff src/ui_tabcomp.c @ 516:b7e99bfeadc9
Convert the minority of while() to while ().
author | zas_ |
---|---|
date | Thu, 24 Apr 2008 15:49:57 +0000 |
parents | 48c8e49b571c |
children | fbebf5cf4a55 |
line wrap: on
line diff
--- a/src/ui_tabcomp.c Thu Apr 24 15:44:43 2008 +0000 +++ b/src/ui_tabcomp.c Thu Apr 24 15:49:57 2008 +0000 @@ -88,7 +88,7 @@ list = td->file_list; - while(list) + while (list) { g_free(list->data); list = list->next; @@ -457,7 +457,7 @@ if (strcmp(entry_dir, "/") == 0) entry_dir[0] = '\0'; list = td->file_list; - while(list) + while (list) { gchar *file = list->data; if (strncmp(entry_file, file, l) == 0) @@ -498,7 +498,7 @@ { list = poss; if (!list) done = TRUE; - while(list && !done) + while (list && !done) { gchar *file = list->data; if (strlen(file) < c || strncmp(test_file, file, c) != 0)