* tuiWin.c (_newHeightOk): Fix compilation warnings.
This commit is contained in:
parent
b7bb15bc12
commit
770c90cdb5
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
2002-09-02 Stephane Carrez <stcarrez@nerim.fr>
|
||||
|
||||
* tuiWin.c (_newHeightOk): Fix compilation warnings.
|
||||
|
||||
2002-09-01 Stephane Carrez <stcarrez@nerim.fr>
|
||||
|
||||
* tuiWin.c (_tuiAllWindowsInfo): Don't crash if the window
|
||||
|
|
|
@ -1446,7 +1446,7 @@ _newHeightOk (TuiWinInfoPtr primaryWinInfo, int newHeight)
|
|||
}
|
||||
else
|
||||
{
|
||||
int curTotalHeight, totalHeight, minHeight;
|
||||
int curTotalHeight, totalHeight, minHeight = 0;
|
||||
TuiWinInfoPtr firstWin, secondWin;
|
||||
|
||||
if (curLayout == SRC_DISASSEM_COMMAND)
|
||||
|
@ -1465,7 +1465,7 @@ _newHeightOk (TuiWinInfoPtr primaryWinInfo, int newHeight)
|
|||
** line that the first and second windows share, and add one
|
||||
** for the locator.
|
||||
*/
|
||||
curTotalHeight =
|
||||
totalHeight = curTotalHeight =
|
||||
(firstWin->generic.height + secondWin->generic.height - 1)
|
||||
+ cmdWin->generic.height + 1 /*locator */ ;
|
||||
if (primaryWinInfo == cmdWin)
|
||||
|
|
Loading…
Reference in a new issue