From fc3ed3a7e247704f13053f64a7c559786c766d4a Mon Sep 17 00:00:00 2001 From: Sebastian Krzyszkowiak Date: Sun, 18 Feb 2018 18:41:12 +0100 Subject: [PATCH] win32 fix --- src/config.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/config.c b/src/config.c index c845723..456ceee 100644 --- a/src/config.c +++ b/src/config.c @@ -22,7 +22,7 @@ #include SYMBOL_EXPORT void InitConfig(struct Game* game) { - const ALLEGRO_FILE_INTERFACE* interface = al_get_new_file_interface(); + const ALLEGRO_FILE_INTERFACE* iface = al_get_new_file_interface(); al_set_standard_file_interface(); ALLEGRO_PATH* path = al_get_standard_path(ALLEGRO_USER_SETTINGS_PATH); ALLEGRO_PATH* data = al_create_path("SuperDerpy.ini"); @@ -33,7 +33,7 @@ SYMBOL_EXPORT void InitConfig(struct Game* game) { } al_destroy_path(path); al_destroy_path(data); - al_set_new_file_interface(interface); + al_set_new_file_interface(iface); } SYMBOL_EXPORT void SetConfigOption(struct Game* game, char* section, char* name, char* value) { @@ -53,7 +53,7 @@ SYMBOL_EXPORT const char* GetConfigOptionDefault(struct Game* game, char* sectio } SYMBOL_EXPORT void DeinitConfig(struct Game* game) { - const ALLEGRO_FILE_INTERFACE* interface = al_get_new_file_interface(); + const ALLEGRO_FILE_INTERFACE* iface = al_get_new_file_interface(); al_set_standard_file_interface(); ALLEGRO_PATH* path = al_get_standard_path(ALLEGRO_USER_SETTINGS_PATH); ALLEGRO_PATH* data = al_create_path("SuperDerpy.ini"); @@ -63,5 +63,5 @@ SYMBOL_EXPORT void DeinitConfig(struct Game* game) { al_destroy_path(path); al_destroy_path(data); al_destroy_config(game->_priv.config); - al_set_new_file_interface(interface); + al_set_new_file_interface(iface); }