aboutsummaryrefslogtreecommitdiff
path: root/src/ClientPattern.cc
diff options
context:
space:
mode:
authorMathias Gumz <akira@fluxbox.org>2015-01-28 19:28:58 (GMT)
committerMathias Gumz <akira@fluxbox.org>2015-01-28 19:28:58 (GMT)
commitaa39a1a666c6e9ec47bef9dfd570c3b6ca772b7b (patch)
tree26aedc4b567536cd2e7d1655f56d204acd9538e6 /src/ClientPattern.cc
parent03ce82a4737b834767c03341db9362ada24c775a (diff)
downloadfluxbox-aa39a1a666c6e9ec47bef9dfd570c3b6ca772b7b.zip
fluxbox-aa39a1a666c6e9ec47bef9dfd570c3b6ca772b7b.tar.bz2
Fix mishandled [maxmized] statement in apps file
In f64727ca I removed one 'else' too much. As a result all [maximized] lines were mapped to MAX_NONE. Fixed. The rest of the commit is just some cosmetic to reduce indentation and shorten function names, easier to read.
Diffstat (limited to 'src/ClientPattern.cc')
-rw-r--r--src/ClientPattern.cc13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/ClientPattern.cc b/src/ClientPattern.cc
index 696e70e..b848834 100644
--- a/src/ClientPattern.cc
+++ b/src/ClientPattern.cc
@@ -38,17 +38,8 @@
38#include <string> 38#include <string>
39#include <memory> 39#include <memory>
40#include <algorithm> 40#include <algorithm>
41#ifdef HAVE_CSTDIO 41#include <cstdio>
42 #include <cstdio> 42#include <cstring>
43#else
44 #include <stdio.h>
45#endif
46
47#ifdef HAVE_CSTRING
48 #include <cstring>
49#else
50 #include <string.h>
51#endif
52 43
53// needed as well for index on some systems (e.g. solaris) 44// needed as well for index on some systems (e.g. solaris)
54#include <strings.h> 45#include <strings.h>