summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean Guyomarc'h <jean.guyomarch@openwide.fr>2015-10-13 16:10:42 +0200
committerNicolas Aguirre <aguirre.nicolas@gmail.com>2015-11-10 08:32:49 +0100
commit14775bc8c4b634bd0dd1b46faf4b0c1fa4e5815f (patch)
treec5158292be55020aa384436f6160359b767ddd29
parente621b2d1d46533f53df874fabb792b36b493d5d8 (diff)
ecore_evas_cocoa: don't reset the init count if negative
-rw-r--r--src/modules/ecore_evas/engines/cocoa/ecore_evas_cocoa.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/modules/ecore_evas/engines/cocoa/ecore_evas_cocoa.c b/src/modules/ecore_evas/engines/cocoa/ecore_evas_cocoa.c
index 95c405c7ee..ff9712d126 100644
--- a/src/modules/ecore_evas/engines/cocoa/ecore_evas_cocoa.c
+++ b/src/modules/ecore_evas/engines/cocoa/ecore_evas_cocoa.c
@@ -343,7 +343,6 @@ _ecore_evas_cocoa_shutdown(void)
343 343
344 ecore_event_evas_shutdown(); 344 ecore_event_evas_shutdown();
345 } 345 }
346 if (_ecore_evas_init_count < 0) _ecore_evas_init_count = 0;
347 return _ecore_evas_init_count; 346 return _ecore_evas_init_count;
348} 347}
349 348