From: Tobias Gläßer Date: Tue, 9 Mar 2004 19:08:37 +0000 (+0000) Subject: fixed C99 compilation X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=a25f214eabf237217dffffa3328f83f956c51463;p=supertux.git fixed C99 compilation SVN-Revision: 198 --- diff --git a/src/title.c b/src/title.c index 56912f439..8d34f4640 100644 --- a/src/title.c +++ b/src/title.c @@ -69,8 +69,9 @@ int title(void) int done; char str[80]; string_list_type level_subsets; - level_subsets = dsubdirs("/levels", "info"); st_subset subset; + level_subsets = dsubdirs("/levels", "info"); + subset_init(&subset); /* Reset menu variables */ @@ -287,8 +288,8 @@ void display_credits() FILE* fi; char temp[1024]; string_list_type names; - string_list_init(&names); char filename[1024]; + string_list_init(&names); sprintf(filename,"%s/CREDITS",DATA_PREFIX); if((fi = fopen(filename,"r")) != NULL) {