OSDN Git Service

PATCH: [ 709575 ] Fix sanity check in CChildFrame::UpdateHeaderSizes()
authorPerry Rapp <elsapo@users.sourceforge.net>
Tue, 25 Mar 2003 22:17:37 +0000 (22:17 +0000)
committerPerry Rapp <elsapo@users.sourceforge.net>
Tue, 25 Mar 2003 22:17:37 +0000 (22:17 +0000)
Src/ChildFrm.cpp
Src/readme.txt

index d19176a..29b35d8 100644 (file)
@@ -234,7 +234,7 @@ void CChildFrame::UpdateHeaderSizes()
        {
                int w,wmin;
                m_wndSplitter.GetColumnInfo(0, w, wmin);
-               if (w<0) w=0; // Perry 2003-01-22 (I don't know why this happens)
+               if (w<1) w=1; // 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);
        }
index f8c1447..65e7cbc 100644 (file)
@@ -1,3 +1,7 @@
+2003-03-25 Perry
+ PATCH: [ 709575 ] Fix sanity check in CChildFrame::UpdateHeaderSizes()
+ WinMerge: ChildFrm.cpp
+
 2003-03-25 Christian
  Replace COPYING with corrected version from http://www.gnu.org/licenses/gpl.txt