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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user