From 4ff506bdbf32df68e94b88974ee46731fe87a268 Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Mon, 26 Aug 2013 04:12:19 +0200
Subject: [PATCH] Improved windows library header comments.

---
 src/windows.c | 2 +-
 src/windows.h | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/windows.c b/src/windows.c
index ca1c5d3..34e4769 100644
--- a/src/windows.c
+++ b/src/windows.c
@@ -546,7 +546,7 @@ extern void cycle_active_win(struct WinMeta * wmeta, char dir)
 
 extern uint8_t shift_active_win(struct WinMeta * wmeta, char dir)
 {
-    if (   0 == wmeta->active                        /* No shifting with <2   */
+    if (   0 == wmeta->active                        /* No shifting with < 2  */
         || wmeta->_chain_start == wmeta->_chain_end  /* windows visible or    */
         || (dir != 'f' && dir != 'b'))               /* wrong direction char. */
     {
diff --git a/src/windows.h b/src/windows.h
index 6dd7615..9650ba2 100644
--- a/src/windows.h
+++ b/src/windows.h
@@ -143,7 +143,7 @@ extern uint8_t resize_active_win(struct WinMeta * wmeta, struct yx_uint16 size);
 
 
 
-/* Cycle active window selection forwards (set "dir"="n") or backwards (any
+/* Cycle active window selection forwards ("dir" == "n") or backwards (any
  * other "dir"). Wrap around in the windows chain if start / end of it is met.
  * Does nothing if no window is active.
  */
@@ -151,9 +151,9 @@ extern void cycle_active_win(struct WinMeta * wmeta, char dir);
 
 
 
-/* Move active window forwards (set dir="f") or backwards (set dir="b"). Wrap
- * around in the window chain if start / end of it is met. Does nothing if no
- * window is active.
+/* Move active window forwards ("dir" == "f") or backwards ("dir" == "b").
+ * Wrap around in the window chain if start / end of it is met. Does nothing if
+ * no window is active.
  */
 extern uint8_t shift_active_win(struct WinMeta * wmeta, char dir);
 
-- 
2.30.2