changeset 1075:1f5ef94e8bef

Use wrong line length of menubar save buffer
author Patrice Mandin <patmandin@gmail.com>
date Tue, 07 Jun 2005 13:30:06 +0000
parents 936da0056ed3
children 8d3b95ece376
files src/video/gem/SDL_gemvideo.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/video/gem/SDL_gemvideo.c	Tue Jun 07 11:52:46 2005 +0000
+++ b/src/video/gem/SDL_gemvideo.c	Tue Jun 07 13:30:06 2005 +0000
@@ -557,7 +557,7 @@
 			mfdb_src.fd_addr=GEM_menubar;
 			mfdb_src.fd_w=GEM_desk_w;
 			mfdb_src.fd_h=GEM_desk_y;
-			mfdb_src.fd_wdwidth= (GEM_desk_w*VDI_pixelsize) >> 4;
+			mfdb_src.fd_wdwidth=GEM_desk_w>>4;
 			mfdb_src.fd_nplanes=VDI_bpp;
 			mfdb_src.fd_stand=
 				mfdb_src.fd_r1=
@@ -587,7 +587,7 @@
 			mfdb_src.fd_addr=GEM_menubar;
 			mfdb_src.fd_w=GEM_desk_w;
 			mfdb_src.fd_h=GEM_desk_y;
-			mfdb_src.fd_wdwidth= (GEM_desk_w*VDI_pixelsize) >> 4;
+			mfdb_src.fd_wdwidth=GEM_desk_w>>4;
 			mfdb_src.fd_nplanes=VDI_bpp;
 			mfdb_src.fd_stand=
 				mfdb_src.fd_r1=