summaryrefslogtreecommitdiff
path: root/graphics.c
diff options
context:
space:
mode:
authorFelix Wallin <nibbler.v1@gmail.com>2010-09-18 07:52:14 (GMT)
committer Felix Wallin <nibbler.v1@gmail.com>2010-09-18 07:52:14 (GMT)
commit99ae022d5544ecc252ff943f83dba3aa6614ec57 (patch)
tree6787ea4c4ed830f14aeb69f8fb8449d631d157df /graphics.c
parentfa099338bb87d25ea660e74b16811d18256e7d51 (diff)
downloadpowder-99ae022d5544ecc252ff943f83dba3aa6614ec57.zip
powder-99ae022d5544ecc252ff943f83dba3aa6614ec57.tar.gz
astyle
Diffstat (limited to 'graphics.c')
-rw-r--r--graphics.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/graphics.c b/graphics.c
index 47c843f..7f9cf8c 100644
--- a/graphics.c
+++ b/graphics.c
@@ -2121,9 +2121,9 @@ pixel *prerender_save(void *save, int size, int *width, int *height)
return NULL;
if(!(c[2]==0x43 && c[1]==0x75 && c[0]==0x66) && !(c[2]==0x76 && c[1]==0x53 && c[0]==0x50))
return NULL;
- if(c[2]==0x43 && c[1]==0x75 && c[0]==0x66){
- new_format = 1;
- }
+ if(c[2]==0x43 && c[1]==0x75 && c[0]==0x66) {
+ new_format = 1;
+ }
if(c[4]>SAVE_VERSION)
return NULL;