mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-07 22:34:18 +01:00
wmiv.c Removed indentation warning
This patch removes the indentation problem. The patch includes a long comment about the change.
wmiv.c: In function ‘main’:
wmiv.c:843:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (e.xclient.data.l[0] == delWindow)
^~
wmiv.c:845:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
break;
^~~~~
Signed-off-by: Rodolfo García Peñas (kix) <kix@kix.es>
This commit is contained in:
committed by
Carlos R. Mafra
parent
7759d06851
commit
00dffbe317
@@ -842,7 +842,14 @@ int main(int argc, char **argv)
|
||||
if (e.type == ClientMessage) {
|
||||
if (e.xclient.data.l[0] == delWindow)
|
||||
quit = 1;
|
||||
break;
|
||||
|
||||
/*
|
||||
* This break could be related to all ClientMessages or
|
||||
* related to delWindow. Before the patch about this comment
|
||||
* the break was indented with one tab more (at the same level
|
||||
* than "quit = 1;" in the previous line.
|
||||
*/
|
||||
break;
|
||||
}
|
||||
if (e.type == FocusIn) {
|
||||
focus = True;
|
||||
|
||||
Reference in New Issue
Block a user