summaryrefslogtreecommitdiff
path: root/src/os/macosx
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2007-08-03 02:21:10 +0000
committerglx <glx@openttd.org>2007-08-03 02:21:10 +0000
commitf95df6bb61f8e04bf146a8ebcd051b7e19820a82 (patch)
tree1b33ca8cec527f91fe453f6d8ac5dd3f0c8fe798 /src/os/macosx
parentfcc1ccb99b5a6f013ed7fcfadf553c73d93a9375 (diff)
downloadopenttd-f95df6bb61f8e04bf146a8ebcd051b7e19820a82.tar.xz
(svn r10761) -Fix (FS#1101, r10216): _pal_last_dirty changed to _pal_count_dirty without updating, so it was of by one
Diffstat (limited to 'src/os/macosx')
-rw-r--r--src/os/macosx/splash.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/macosx/splash.cpp b/src/os/macosx/splash.cpp
index 927f8d5ea..30eed880d 100644
--- a/src/os/macosx/splash.cpp
+++ b/src/os/macosx/splash.cpp
@@ -128,7 +128,7 @@ void DisplaySplashImage()
_cur_palette[0xff].b = 0;
_pal_first_dirty = 0;
- _pal_count_dirty = 255;
+ _pal_count_dirty = 256;
png_destroy_read_struct(&png_ptr, &info_ptr, &end_info);
fclose(f);