From 4ba926027c95d784d283adb30ddf17b8da735056 Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Thu, 5 Jan 2012 20:57:57 -0600 Subject: [PATCH] 1.08 Fixed filename declarations for gcc 4.7.0. --- main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main.cpp b/main.cpp index 4b26d55..8264dfa 100644 --- a/main.cpp +++ b/main.cpp @@ -48,7 +48,7 @@ const int landershotmax = 10; const int landermax = 12; const int crawlermax = 6; const int missilemax = 3; -const float version = 1.07; +const float version = 1.08; int score; int lives; @@ -538,9 +538,9 @@ int main(int argc, char *argv[]){ }; fclose(scorefile); } else { - FILE *scorefile = fopen(home, "w"); - fputs("0\n", scorefile); - fclose(scorefile); + FILE *writescorefile = fopen(home, "w"); + fputs("0\n", writescorefile); + fclose(writescorefile); hscore = 0; }; -- 2.9.0