Mercurial > geeqie
diff src/collect-table.c @ 516:b7e99bfeadc9
Convert the minority of while() to while ().
author | zas_ |
---|---|
date | Thu, 24 Apr 2008 15:49:57 +0000 |
parents | 985fdfebd89e |
children | 85b9cec260bc |
line wrap: on
line diff
--- a/src/collect-table.c Thu Apr 24 15:44:43 2008 +0000 +++ b/src/collect-table.c Thu Apr 24 15:49:57 2008 +0000 @@ -293,7 +293,7 @@ ct->selection = NULL; work = ct->cd->list; - while(work) + while (work) { ct->selection = g_list_append(ct->selection, work->data); collection_table_selection_add(ct, work->data, SELECTION_SELECTED, NULL); @@ -895,7 +895,7 @@ if (new_row < 0) new_row = 0; if (new_row >= ct->rows) new_row = ct->rows - 1; - while(col != 0) + while (col != 0) { if (col < 0) {