Mercurial > geeqie.yaz
comparison src/cache_maint.c @ 516:b7e99bfeadc9
Convert the minority of while() to while ().
author | zas_ |
---|---|
date | Thu, 24 Apr 2008 15:49:57 +0000 |
parents | 135570a8bd96 |
children | e62b2e06ab7b |
comparison
equal
deleted
inserted
replaced
515:adc45cd3f08b | 516:b7e99bfeadc9 |
---|---|
366 if (path_list(base, &flist, &dlist)) | 366 if (path_list(base, &flist, &dlist)) |
367 { | 367 { |
368 GList *work; | 368 GList *work; |
369 | 369 |
370 work = dlist; | 370 work = dlist; |
371 while(work) | 371 while (work) |
372 { | 372 { |
373 gchar *path = work->data; | 373 gchar *path = work->data; |
374 if (recursive && strlen(path) > base_length && | 374 if (recursive && strlen(path) > base_length && |
375 !cache_maintain_home_dir(path + base_length, recursive, clear)) | 375 !cache_maintain_home_dir(path + base_length, recursive, clear)) |
376 { | 376 { |