From 7cd7f0bd22bfc577997d76459e1a5ad866fd1792 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 8 Jun 2012 14:45:21 +0000 Subject: [PATCH] whoops, meant negative...hope nobody noticed this SVN revision: 71856 --- legacy/eina/src/lib/eina_str.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legacy/eina/src/lib/eina_str.c b/legacy/eina/src/lib/eina_str.c index 5c4cbf724f..97d873ed5b 100644 --- a/legacy/eina/src/lib/eina_str.c +++ b/legacy/eina/src/lib/eina_str.c @@ -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) {