Properly check for empty string

SVN revision: 65034
This commit is contained in:
Iván Briano 2011-11-10 23:21:15 +00:00
parent 05712f1644
commit 2f4c5de9ed
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ ecore_con_mempool_init(void)
unsigned int i;
choice = getenv("EINA_MEMPOOL");
if (!choice || choice[0])
if (!choice || !choice[0])
choice = "chained_mempool";
for (i = 0; i < sizeof (mempool_array) / sizeof (mempool_array[0]); ++i)