[SDL_tizen] bugfix-main function always returns 0. 97/93397/1
authorDaeKwang Ryu <dkdk.ryu@samsung.com>
Mon, 24 Oct 2016 06:09:16 +0000 (15:09 +0900)
committerDaeKwang Ryu <dkdk.ryu@samsung.com>
Mon, 24 Oct 2016 06:16:36 +0000 (15:16 +0900)
Change-Id: Ic1a5f0b898169e9b634c855ff2ee91ba39f5a7ac

src/main/tizen/SDL_tizen_main.c

index 3075844..aeb1d7c 100644 (file)
@@ -17,8 +17,7 @@ DECLSPEC int main(int argc, char *argv[])
 {
     SDL_tizen_app_init(argc, argv);
     SDL_SetMainReady();
-    (void)SDL_main(argc, argv);
-    return 0;
+    return SDL_main(argc, argv);
 }
 
 #endif /* __TIZEN__ */