ecore_evas_cocoa: don't reset the init count if negative
authorJean Guyomarc'h <jean.guyomarch@openwide.fr>
Tue, 13 Oct 2015 14:10:42 +0000 (16:10 +0200)
committerCedric BAIL <cedric@osg.samsung.com>
Tue, 1 Dec 2015 20:15:31 +0000 (12:15 -0800)
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
src/modules/ecore_evas/engines/cocoa/ecore_evas_cocoa.c

index 95c405c..ff9712d 100644 (file)
@@ -343,7 +343,6 @@ _ecore_evas_cocoa_shutdown(void)
 
         ecore_event_evas_shutdown();
      }
-   if (_ecore_evas_init_count < 0) _ecore_evas_init_count = 0;
    return _ecore_evas_init_count;
 }