From 4eeaa8e1b0c180db72c7844235231724d6c3db9f Mon Sep 17 00:00:00 2001 From: gewlitys Date: Sat, 10 May 2003 19:53:10 +0000 Subject: [PATCH] Flashing rects are no longer constrained to even-numbered pixels on the y axis; fixes bug #255, from Nic git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@949 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/ChangeLog | 2 ++ sc2/src/sc2code/sis.c | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/sc2/ChangeLog b/sc2/ChangeLog index fc6af1d08..bef91c18e 100644 --- a/sc2/ChangeLog +++ b/sc2/ChangeLog @@ -1,4 +1,6 @@ Changes towards version 0.3: +- Flashing rects are no longer constrained to even-numbered pixels on the + y axis; fixes bug #255, from Nic - Fixed minor glitches in main window borders (bug #307 parts 1,2,3) -Mika - There's now space before and after : in coordinates (bug #307 part 6), from Paxtez diff --git a/sc2/src/sc2code/sis.c b/sc2/src/sc2code/sis.c index 2b706571f..b42b88e1b 100644 --- a/sc2/src/sc2code/sis.c +++ b/sc2/src/sc2code/sis.c @@ -1403,10 +1403,7 @@ SetFlashRect (PRECT pRect, FRAME f) flash_rect1 = *pRect; flash_rect1.corner.x += clip_r.corner.x; flash_rect1.corner.y += clip_r.corner.y; - flash_rect1.extent.height += flash_rect.corner.y & 1; - flash_rect1.corner.y &= ~1; create_flash = 1; - } LockMutex (flash_mutex);