more unneeded logic
authorrephorm <rephorm>
Fri, 15 Dec 2006 05:44:18 +0000 (05:44 +0000)
committerrephorm <rephorm@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 15 Dec 2006 05:44:18 +0000 (05:44 +0000)
SVN revision: 27460

legacy/ecore/src/lib/ecore_desktop/ecore_desktop.c

index ae8cded..ab7f96c 100644 (file)
@@ -74,7 +74,7 @@ ecore_desktop_ini_get(const char *file)
 
        c = buffer;
        /* Strip preceeding blanks.  Note that \n is treated differently from the other white space. */
-        while (((*c == ' ') || (*c == '\t')) && (*c != '\n') && (*c != '\0'))
+        while ((*c == ' ') || (*c == '\t'))
                c++;
        /* Skip blank lines and comments */
        if ((*c == '\0') || (*c == '\n') || (*c == '#')) continue;