SF.net SVN: geany: [1806] trunk/tagmanager/rest.c

ntrel at users.sourceforge.net ntrel at xxxxx
Thu Aug 16 16:49:18 UTC 2007


Revision: 1806
          http://geany.svn.sourceforge.net/geany/?rev=1806&view=rev
Author:   ntrel
Date:     2007-08-16 09:49:17 -0700 (Thu, 16 Aug 2007)

Log Message:
-----------
Don't use double if statements.

Modified Paths:
--------------
    trunk/tagmanager/rest.c

Modified: trunk/tagmanager/rest.c
===================================================================
--- trunk/tagmanager/rest.c	2007-08-16 15:20:38 UTC (rev 1805)
+++ trunk/tagmanager/rest.c	2007-08-16 16:49:17 UTC (rev 1806)
@@ -64,8 +64,8 @@
 
     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)
 			{


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list