Fixed a warning in win_sdl.c.

This commit is contained in:
OBattler
2018-10-21 20:14:12 +02:00
parent aaf10aba68
commit 480666673e

View File

@@ -12,7 +12,7 @@
* we will not use that, but, instead, use a new window which * we will not use that, but, instead, use a new window which
* coverrs the entire desktop. * coverrs the entire desktop.
* *
* Version: @(#)win_sdl.c 1.0.2 2018/10/18 * Version: @(#)win_sdl.c 1.0.3 2018/10/21
* *
* Authors: Fred N. van Kempen, <decwiz@yahoo.com> * Authors: Fred N. van Kempen, <decwiz@yahoo.com>
* Michael Dr<44>ing, <michael@drueing.de> * Michael Dr<44>ing, <michael@drueing.de>
@@ -610,7 +610,7 @@ sdl_pause(void)
void void
sdl_resize(int x, int y) sdl_resize(int x, int y)
{ {
int ww, wh, wx, wy; int ww = 0, wh = 0, wx = 0, wy = 0;
if ((x == cur_w) && (y == cur_h)) if ((x == cur_w) && (y == cur_h))
return; return;