fixed bug when switching to variantsuper
[xboard.git] / winboard / wlayout.c
index 0261736..04f6eb6 100644 (file)
@@ -3,6 +3,8 @@
  *\r
  * Author: Alessandro Scotti (Dec 2005)\r
  *\r
+ * Copyright 2005 Alessandro Scotti\r
+ *\r
  * ------------------------------------------------------------------------\r
  *\r
  * GNU XBoard is free software: you can redistribute it and/or modify\r
@@ -163,8 +165,6 @@ VOID ReattachAfterSize( LPRECT lprcOldPos, int new_w, int new_h, HWND hWndChild,
     if( ! IsDefaultPlacement( pwpChild ) ) {\r
         GetActualPlacement( hWndChild, pwpChild );\r
 \r
-if(appData.debugMode) fprintf(debugFP, "resize, old=(%d,%d,%d,%d), new=(%d,%d)\n",\r
-lprcOldPos->left,lprcOldPos->top,lprcOldPos->right,lprcOldPos->bottom,new_w,new_h);\r
         if( IsAttachedByWindowPlacement( lprcOldPos, pwpChild ) ) {\r
             /* Get delta of lower right corner */\r
             int delta_x = new_w - (lprcOldPos->right  - lprcOldPos->left);\r