summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2012-08-12 04:56:45 (GMT)
committerH. Peter Anvin <hpa@linux.intel.com>2012-08-12 04:56:45 (GMT)
commit13874a22af69d3c6e0dda7b09fe17e4ca856fd20 (patch)
treeedc278eac5203941b19b46d7922461b3a6686862
parentb0335cc6b9617f17acda2498842f6764a0349ae0 (diff)
downloadabc80sim-13874a22af69d3c6e0dda7b09fe17e4ca856fd20.zip
abc80sim-13874a22af69d3c6e0dda7b09fe17e4ca856fd20.tar.gz
abc80sim-13874a22af69d3c6e0dda7b09fe17e4ca856fd20.tar.bz2
abc80sim-13874a22af69d3c6e0dda7b09fe17e4ca856fd20.tar.xz
Fix blink handling in 40 column mode
-rw-r--r--sdlscrn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sdlscrn.c b/sdlscrn.c
index 1e3e129..23d3468 100644
--- a/sdlscrn.c
+++ b/sdlscrn.c
@@ -137,8 +137,8 @@ static void toggle_blink(void)
SDL_LockSurface(rscreen);
- gw = FONT_XSIZE*FONT_XDUP;
- gh = (FONT_YSIZE*FONT_YDUP) << mode40;
+ gw = (FONT_XSIZE*FONT_XDUP) << mode40;
+ gh = FONT_YSIZE*FONT_YDUP;
for ( y = 0, gy = 0 ; y < TS_HEIGHT ; y++, gy += gh ) {
for ( x = 0, gx = 0 ; x < width ; x++, gx += gw ) {