Kaydet (Commit) b1b36a9b authored tarafından Nick Treleaven's avatar Nick Treleaven

Don't use double if statements.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1806 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst fc3a74e7
......@@ -64,8 +64,8 @@ static void findRestTags (void)
while ((line = fileReadLine ()) != NULL)
{
if (strlen((const char*) line) > 3 && vStringLength(name) > 0)
if (! strstr((const char*) line, " "))
if (strlen((const char*) line) > 3 && vStringLength(name) > 0 &&
! strstr((const char*) line, " "))
{
if (strncmp((const char*) line, "===", 3) == 0)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment