changeset 21:c6e76b796b28

Stopped unnecessary redrawing when switching to the same page.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Fri, 27 Jul 2001 07:12:35 +0000
parents 38295c8d06d5
children 6a246b3bb14f
files os2/dw.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/os2/dw.c	Wed Jul 25 09:34:02 2001 +0000
+++ b/os2/dw.c	Fri Jul 27 07:12:35 2001 +0000
@@ -1579,7 +1579,7 @@
 				unsigned long x, y, width, height;
 				RECTL rc;
 
-				if(pagebox)
+				if(pagebox && psn->ulPageIdNew != psn->ulPageIdCur)
 				{
 					dw_window_get_pos_size(psn->hwndBook, &x, &y, &width, &height);