Repositories
/
curblaster.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc0e99d
)
1.08
1.08
author
Gwyn Ciesla
<limburgher@gmail.com>
Fri, 6 Jan 2012 02:57:57 +0000
(20:57 -0600)
committer
Gwyn Ciesla
<limburgher@gmail.com>
Fri, 6 Jan 2012 02:57:57 +0000
(20:57 -0600)
Fixed filename declarations for gcc 4.7.0.
main.cpp
patch
|
blob
|
blame
|
history
diff --git
a/main.cpp
b/main.cpp
index
4b26d55
..
8264dfa
100644
(file)
--- 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.0
7
;
+const float version = 1.0
8
;
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 *
write
scorefile = fopen(home, "w");
+ fputs("0\n",
write
scorefile);
+ fclose(
write
scorefile);
hscore = 0;
};