[iortcw] 331/497: SP: Adjust string size for icon

Simon McVittie smcv at debian.org
Fri Sep 8 10:37:18 UTC 2017


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to annotated tag 1.42d
in repository iortcw.

commit cec395a188709ac02a299334f9e461e3560c2b66
Author: MAN-AT-ARMS <M4N4T4RMS at gmail.com>
Date:   Sat Apr 4 16:35:15 2015 -0400

    SP: Adjust string size for icon
---
 SP/code/sdl/sdl_icon.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/SP/code/sdl/sdl_icon.h b/SP/code/sdl/sdl_icon.h
index 6130a67..72f6228 100644
--- a/SP/code/sdl/sdl_icon.h
+++ b/SP/code/sdl/sdl_icon.h
@@ -4,7 +4,7 @@ static const struct {
   unsigned int 	 width;
   unsigned int 	 height;
   unsigned int 	 bytes_per_pixel; /* 3:RGB, 4:RGBA */ 
-  unsigned char	 pixel_data[128 * 128 * 4 + 1];
+  unsigned char	 pixel_data[128 * 128 * 4];
 } CLIENT_WINDOW_ICON = {
   128, 128, 4,
   "3\0\0\3773\0\0\3773\0\0\3773\0\0\3773\0\0\3773\0\0\3773\0\0\3773\0\0\377"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git



More information about the Pkg-games-commits mailing list