Use wrong line length of menubar save buffer
authorPatrice Mandin <patmandin@gmail.com>
Tue, 07 Jun 2005 13:30:06 +0000
changeset 1075 1f5ef94e8bef
parent 1074 936da0056ed3
child 1076 8d3b95ece376
Use wrong line length of menubar save buffer
src/video/gem/SDL_gemvideo.c
--- 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=