From: "Rodolfo García Peñas (kix)" <k...@kix.es>

This patch adds a comment and removes son extra curly brackets.
---
 src/workspace.c |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/workspace.c b/src/workspace.c
index 29aab12..a9a978b 100644
--- a/src/workspace.c
+++ b/src/workspace.c
@@ -789,15 +789,16 @@ void wWorkspaceMenuUpdate(WScreen *scr, WMenu *menu)
 
                menu->entries[i + MC_WORKSPACE1]->flags.indicator_on = 0;
        }
+
+       /* Update the workspace's menu */
        menu->entries[scr->current_workspace + 
MC_WORKSPACE1]->flags.indicator_on = 1;
        wMenuRealize(menu);
 
        /* don't let user destroy current workspace */
-       if (scr->current_workspace == scr->workspace_count - 1) {
+       if (scr->current_workspace == scr->workspace_count - 1)
                wMenuSetEnabled(menu, MC_DESTROY_LAST, False);
-       } else {
+       else
                wMenuSetEnabled(menu, MC_DESTROY_LAST, True);
-       }
 
        /* back to last workspace */
        if (scr->workspace_count && scr->last_workspace != 
scr->current_workspace)
-- 
1.7.10.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.

Reply via email to