1
0
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:
Rodolfo García Peñas (kix)
2012-04-14 10:53:12 +02:00
committed by Carlos R. Mafra
parent afe2e5d9d6
commit 761fd37e51
10 changed files with 95 additions and 112 deletions

View File

@@ -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);
}
}