OSDN Git Service
(root)
/
winmerge-jp
/
winmerge-jp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c2859d
)
[ 672885 ] Fix for ASSERT from CChildFrame::UpdateHeaderSizes
author
Christian List
<list1974@hotmail.com>
Mon, 27 Jan 2003 20:20:44 +0000
(20:20 +0000)
committer
Christian List
<list1974@hotmail.com>
Mon, 27 Jan 2003 20:20:44 +0000
(20:20 +0000)
Src/ChildFrm.cpp
patch
|
blob
|
history
diff --git
a/Src/ChildFrm.cpp
b/Src/ChildFrm.cpp
index
94cd77d
..
d19176a
100644
(file)
--- a/
Src/ChildFrm.cpp
+++ b/
Src/ChildFrm.cpp
@@
-233,7
+233,8
@@
void CChildFrame::UpdateHeaderSizes()
if(IsWindowVisible())
{
int w,wmin;
- m_wndSplitter.GetColumnInfo(0, w, wmin);
+ m_wndSplitter.GetColumnInfo(0, w, wmin);
+ if (w<0) w=0; // Perry 2003-01-22 (I don't know why this happens)
m_wndStatusBar.SetPaneInfo(0, ID_SEPARATOR, SBPS_NORMAL, w-1);
m_wndStatusBar.SetPaneInfo(1, ID_SEPARATOR, SBPS_STRETCH, 0);
}