aboutsummaryrefslogtreecommitdiffstats
path: root/search.c
diff options
context:
space:
mode:
authorokan2010-09-25 20:01:27 +0000
committerokan2010-09-25 20:01:27 +0000
commit4a690302db9e371e0a2332983bf1862727c3760f (patch)
tree3ff0afe398057f47e56383c12657cf9683ff50db /search.c
parent84dc0e28f6cc699192cb969b22ee2a23cd4f88f5 (diff)
downloadcwm-4a690302db9e371e0a2332983bf1862727c3760f.tar.gz
spacing nits
Diffstat (limited to 'search.c')
-rw-r--r--search.c13
1 files changed, 3 insertions, 10 deletions
diff --git a/search.c b/search.c
index b2d74e3..940e4cd 100644
--- a/search.c
+++ b/search.c
@@ -14,7 +14,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $Id: search.c,v 1.20 2009/12/15 04:10:42 okan Exp $
+ * $Id: search.c,v 1.21 2010/09/25 20:01:27 okan Exp $
*/
#include <sys/param.h>
@@ -78,11 +78,7 @@ search_match_client(struct menu_q *menuq, struct menu_q *resultq, char *search)
}
}
- /*
- * See if there is a match on the window class
- * name.
- */
-
+ /* Then if there is a match on the window class name. */
if (tier < 0 && strsubmatch(search, cc->app_class, 0)) {
cc->matchname = cc->app_class;
tier = 3;
@@ -99,9 +95,7 @@ search_match_client(struct menu_q *menuq, struct menu_q *resultq, char *search)
if (cc == client_current() && tier < ntiers - 1)
tier++;
- /*
- * Clients that are hidden get ranked one up.
- */
+ /* Clients that are hidden get ranked one up. */
if (cc->flags & CLIENT_HIDDEN && tier > 0)
tier--;
@@ -114,7 +108,6 @@ search_match_client(struct menu_q *menuq, struct menu_q *resultq, char *search)
* Always make your current tierp the newly inserted
* entry.
*/
-
for (t = tier; t >= 0 && ((before = tierp[t]) == NULL); t--)
;