mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 12:58:08 +01:00
Add spaces to gcc 'case' range extension
According to the gcc manual, that is safer.
This commit is contained in:
@@ -1536,7 +1536,7 @@ static void handleKeyPress(XEvent * event)
|
||||
StartWindozeCycle(wwin, event, False);
|
||||
break;
|
||||
|
||||
case WKBD_WORKSPACE1...WKBD_WORKSPACE10:
|
||||
case WKBD_WORKSPACE1 ... WKBD_WORKSPACE10:
|
||||
widx = command - WKBD_WORKSPACE1;
|
||||
i = (scr->current_workspace / 10) * 10 + widx;
|
||||
if (wPreferences.ws_advance || i < scr->workspace_count)
|
||||
@@ -1549,6 +1549,7 @@ static void handleKeyPress(XEvent * event)
|
||||
case WKBD_PREVWORKSPACE:
|
||||
wWorkspaceRelativeChange(scr, -1);
|
||||
break;
|
||||
|
||||
case WKBD_WINDOW1:
|
||||
case WKBD_WINDOW2:
|
||||
case WKBD_WINDOW3:
|
||||
|
||||
Reference in New Issue
Block a user