mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 20:38:08 +01:00
WindowMaker: Clean curly brackets
This patch removes the unneeded curly brackets in multiple files. It also add some comments in the code. In usermenu.c removes some variables not used.
This commit is contained in:
committed by
Carlos R. Mafra
parent
afe2e5d9d6
commit
761fd37e51
@@ -574,9 +574,9 @@ static void execInitScript()
|
||||
wfree(paths);
|
||||
|
||||
if (file) {
|
||||
if (system(file) != 0) {
|
||||
if (system(file) != 0)
|
||||
werror(_("%s:could not execute initialization script"), file);
|
||||
}
|
||||
|
||||
wfree(file);
|
||||
}
|
||||
}
|
||||
@@ -592,9 +592,9 @@ void ExecExitScript()
|
||||
wfree(paths);
|
||||
|
||||
if (file) {
|
||||
if (system(file) != 0) {
|
||||
if (system(file) != 0)
|
||||
werror(_("%s:could not execute exit script"), file);
|
||||
}
|
||||
|
||||
wfree(file);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user