1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-08 06:44:11 +01:00

util: Fix wmagnify

wmagnify stopped working after f65b99e615 ("Remove warnings").
So revert that change in util/wmagnify.c, as it turns out that the
gcc warning was bogus there.
This commit is contained in:
Carlos R. Mafra
2011-08-01 20:28:30 +02:00
parent 6c2a5f19f1
commit e95f886e06

View File

@@ -397,6 +397,7 @@ static BufferData *newWindow(int magfactor)
int main(int argc, char **argv)
{
BufferData *data;
int i;
char *display = "";
char *vdisplay = NULL;
@@ -480,6 +481,8 @@ int main(int argc, char **argv)
cursorColor1 = WMCreateNamedColor(scr, "#ff0000", False);
cursorColor2 = WMCreateNamedColor(scr, "#00ff00", False);
data = newWindow(magfactor);
WMScreenMainLoop(scr);
return 0;