From: <kr_...@us...> - 2004-05-31 19:46:25
|
Update of /cvsroot/htoolkit/port/src/cbits/Win32 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13445/src/cbits/Win32 Modified Files: Splitter.c Log Message: bugfix Index: Splitter.c =================================================================== RCS file: /cvsroot/htoolkit/port/src/cbits/Win32/Splitter.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Splitter.c 31 May 2004 19:31:30 -0000 1.3 --- Splitter.c 31 May 2004 19:46:14 -0000 1.4 *************** *** 79,83 **** { pData = malloc(sizeof(SplitterData)); ! pData->nSplitterPos = 100; pData->bInDragMode = FALSE; --- 79,83 ---- { pData = malloc(sizeof(SplitterData)); ! pData->nSplitterPos = SPLIT_LINE_SIZE/2; pData->bInDragMode = FALSE; *************** *** 233,241 **** RECT rect; GetClientRect(splitter, &rect); ! range[0] = 0; if (GetWindowLong(splitter, GWL_STYLE) & CCS_VERT) ! range[1] = rect.bottom-rect.top; else ! range[1] = rect.right-rect.left; } --- 233,241 ---- RECT rect; GetClientRect(splitter, &rect); ! range[0] = SPLIT_LINE_SIZE/2; if (GetWindowLong(splitter, GWL_STYLE) & CCS_VERT) ! range[1] = (rect.bottom-rect.top)-SPLIT_LINE_SIZE/2; else ! range[1] = (rect.right-rect.left)-SPLIT_LINE_SIZE/2; } |