changeset 541:f65fc3a049ff

Move the fix, but it is just as ugly as before. ;)
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Thu, 01 Apr 2004 07:42:17 +0000
parents 2b9b88c273bc
children a95f39e81fe2
files os2/dw.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/os2/dw.c	Thu Apr 01 07:39:58 2004 +0000
+++ b/os2/dw.c	Thu Apr 01 07:42:17 2004 +0000
@@ -2821,7 +2821,6 @@
 
 		WinSetWindowPos(handle2, NULLHANDLE, 0, 0, x, newy, SWP_MOVE | SWP_SIZE);
 		_do_resize(tmp, x - 1, newy - 1);
-		_do_resize(tmp, x - 1, newy - 1);
 
 		dw_window_set_data(hwnd, "_dw_start", (void *)newy);
 	}
@@ -2940,6 +2939,7 @@
 							*percent = 100.0 - (((float)start / (float)(height - SPLITBAR_WIDTH)) * 100.0);
 					}
 					_handle_splitbar_resize(hwnd, *percent, type, width, height);
+					_handle_splitbar_resize(hwnd, *percent, type, width, height);
 				}
 			}
 		}