# HG changeset patch # User Matti Hamalainen # Date 1337826543 -10800 # Node ID d11a68f214ebf1363ad76f46310ec70c99e11da1 # Parent 7bec02f382fb8f89783ee68df35b67008b349561 Fix indentation after astyle reindent. diff -r 7bec02f382fb -r d11a68f214eb nnchat.c --- 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) {