[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Fix whitespace/comment



Quick simple whitespace and comment fix.
2 files changed, 2 insertions(+), 2 deletions(-)

Florian

-- 
() ascii ribbon campaign - stop html mail    www.asciiribbon.org
/\ www.the-compiler.org  | I love long mails http://email.is-not-s.ms/
The human mind treats a new idea the way the body treats a strange protein -- 
it rejects it. -- P. Medawar 
From 99e0b982beefb13b81d59cbb7531f8c595ed6901 Mon Sep 17 00:00:00 2001
From: Florian Bruhin <git _at_ the _minus_ compiler _dot_ org>
Date: Thu, 15 Nov 2012 16:23:57 +0100
Subject: [PATCH] Fix whitespace/comment

---
 src/main.c    | 2 +-
 src/monitor.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main.c b/src/main.c
index 86f7eac..b1b04ad 100644
--- a/src/main.c
+++ b/src/main.c
@@ -341,7 +341,7 @@ int raise_command(int argc, char** argv) {
     Window win;
     HSClient* client = NULL;
     win = string_to_client((argc > 1) ? argv[1] : "", &client);
-if (client) {
+    if (client) {
         client_raise(client);
     } else {
         XRaiseWindow(g_display, win);
diff --git a/src/monitor.c b/src/monitor.c
index ee2ea0a..e3c84a9 100644
--- a/src/monitor.c
+++ b/src/monitor.c
@@ -332,7 +332,7 @@ HSMonitor* add_monitor(XRectangle rect, HSTag* tag) {
 }
 
 int add_monitor_command(int argc, char** argv) {
-    // usage: add_monitor RECTANGLE TAG [PADUP [PADRIGHT [PADDOWN [PADLEFT]]]]
+    // usage: add_monitor RECTANGLE [TAG [PADUP [PADRIGHT [PADDOWN [PADLEFT]]]]]
     if (argc < 2) {
         return HERBST_INVALID_ARGUMENT;
     }
-- 
1.8.0

Attachment: pgpQxi5UBlWvQ.pgp
Description: PGP signature