This is an automated email from the git hooks/post-receive script.

coringao-guest pushed a commit to branch master
in repository jag.

commit 74fb2a952ccf098227584b6a4a6468edfac5b383
Author: Carlos Donizete Froes <[email protected]>
Date:   Fri Dec 8 20:16:04 2017 -0200

    Fixed main.cpp
    
    Signed-off-by: Carlos Donizete Froes <[email protected]>
---
 src/main.cpp | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/src/main.cpp b/src/main.cpp
index 3bcb23e..e8b28ef 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -118,14 +118,8 @@ int main(int argc, char *argv[])
     // main widget & startup
     GameWidget w(resourcePath);
 
-    int result = a.exec();
-
-    // deinitialization of SDL
-    Mix_CloseAudio();
-    SDL_Quit();
-
     // deinitialization of DisplayWrapper
     DisplayWrapper::restoreVideoMode();
 
-    return result;
+    return a.exec();
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/jag.git

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to