Fix a C99 issue that prevented compiles on MSVC.
Broken in r6998 git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7015 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
7a6fa22b1e
commit
96bdc06fdd
|
@ -649,6 +649,8 @@ static void addGames(void)
|
|||
// display that no games are available in lobby.
|
||||
// This is a 'button', not text so it can be hilighted/centered.
|
||||
const char *txt;
|
||||
W_BUTINIT sButInit;
|
||||
|
||||
switch (getConnError())
|
||||
{
|
||||
case NETERR_NOERR:
|
||||
|
@ -661,7 +663,6 @@ static void addGames(void)
|
|||
txt = _("Unknown Error");
|
||||
break;
|
||||
}
|
||||
W_BUTINIT sButInit;
|
||||
|
||||
// delete old widget if necessary
|
||||
widgDelete(psWScreen,FRONTEND_NOGAMESAVAILABLE);
|
||||
|
|
Loading…
Reference in New Issue