whoops, meant negative...hope nobody noticed this
authordiscomfitor <discomfitor>
Fri, 8 Jun 2012 14:45:21 +0000 (14:45 +0000)
committerdiscomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 8 Jun 2012 14:45:21 +0000 (14:45 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@71856 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/eina_str.c

index 5c4cbf7..97d873e 100644 (file)
@@ -76,7 +76,7 @@ eina_str_split_full_helper(const char *str,
    size_t len, dlen;
    unsigned int tokens;
 
-   EINA_SAFETY_ON_TRUE_RETURN_VAL(max_tokens < 1, NULL);
+   EINA_SAFETY_ON_TRUE_RETURN_VAL(max_tokens < 0, NULL);
    dlen = strlen(delim);
    if (dlen == 0)
      {