From 8741d4e7b7b832753c5760ebe6d214726d9bd659 Mon Sep 17 00:00:00 2001 From: NishiOwO Date: Sat, 18 Oct 2025 10:51:42 +0000 Subject: [PATCH] format git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@406 b9cfdab3-6d41-4d17-bbe4-086880011989 --- src/filechooser.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/filechooser.c b/src/filechooser.c index e23961e..a25098b 100644 --- a/src/filechooser.c +++ b/src/filechooser.c @@ -5,7 +5,7 @@ typedef struct filechooser { char* path; - + MwDirectoryEntry** entries; MwDirectoryEntry** sorted_entries; @@ -30,7 +30,7 @@ typedef struct filechooser { static void destroy(MwWidget handle) { filechooser_t* fc = handle->opaque; - int i; + int i; arrfree(fc->sorted_entries); for(i = 0; i < arrlen(fc->entries); i++) MwDirectoryFreeEntry(fc->entries[i]); @@ -261,13 +261,13 @@ static int qsort_files(const void* a, const void* b) { } static void scan(MwWidget handle, const char* path) { - filechooser_t* fc = handle->opaque; - void* dir = MwDirectoryOpen(path); - int i; - char** names = NULL; - char** dates = NULL; - char** sizes = NULL; - MwLLPixmap* icons = NULL; + filechooser_t* fc = handle->opaque; + void* dir = MwDirectoryOpen(path); + int i; + char** names = NULL; + char** dates = NULL; + char** sizes = NULL; + MwLLPixmap* icons = NULL; arrfree(fc->sorted_entries); for(i = 0; i < arrlen(fc->entries); i++) MwDirectoryFreeEntry(fc->entries[i]);