changeset 404:d11a68f214eb

Fix indentation after astyle reindent.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 24 May 2012 05:29:03 +0300
parents 7bec02f382fb
children b4ed5d574edc
files nnchat.c
diffstat 1 files changed, 25 insertions(+), 25 deletions(-) [+]
line wrap: on
line diff
--- a/nnchat.c	Thu May 24 05:28:44 2012 +0300
+++ b/nnchat.c	Thu May 24 05:29:03 2012 +0300
@@ -1181,31 +1181,31 @@
         mode = 1;
     }
     else
-        /* middle of a word, new pattern */
-        if (startPos < buf->len && str[startPos] != ' ')
-        {
-            endPos = startPos;
-            while (startPos > 0 && str[startPos - 1] != ' ') startPos--;
-            while (endPos < buf->len - 1 && str[endPos + 1] != ' ') endPos++;
-            newPattern = TRUE;
-            mode = 2;
-        }
-        else
-            /* previous word, new pattern */
-            if (startPos >= 1 && str[startPos - 1] != ' ')
-            {
-                startPos -= 1;
-                endPos = startPos;
-                while (startPos > 0 && str[startPos - 1] != ' ') startPos--;
-                newPattern = TRUE;
-                mode = 3;
-            }
-            else
-            {
-                if (optDebug)
-                    printMsg(currWin, "no mode\n");
-                return FALSE;
-            }
+    /* middle of a word, new pattern */
+    if (startPos < buf->len && str[startPos] != ' ')
+    {
+        endPos = startPos;
+        while (startPos > 0 && str[startPos - 1] != ' ') startPos--;
+        while (endPos < buf->len - 1 && str[endPos + 1] != ' ') endPos++;
+        newPattern = TRUE;
+        mode = 2;
+    }
+    else
+    /* previous word, new pattern */
+    if (startPos >= 1 && str[startPos - 1] != ' ')
+    {
+        startPos -= 1;
+        endPos = startPos;
+        while (startPos > 0 && str[startPos - 1] != ' ') startPos--;
+        newPattern = TRUE;
+        mode = 3;
+    }
+    else
+    {
+        if (optDebug)
+            printMsg(currWin, "no mode\n");
+        return FALSE;
+    }
 
     if (str[endPos] == optNickSep)
     {