From e12488258e4a10557383d96a2bf9211ae9da1ec0 Mon Sep 17 00:00:00 2001 From: Davis King Date: Sun, 29 Nov 2009 13:55:42 +0000 Subject: [PATCH] Minor cleanup in example. --HG-- extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403272 --- examples/gui_api_ex.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/gui_api_ex.cpp b/examples/gui_api_ex.cpp index c433089b2..802de41af 100644 --- a/examples/gui_api_ex.cpp +++ b/examples/gui_api_ex.cpp @@ -196,6 +196,8 @@ int main() // wait until the user closes this window before we let the program // terminate. my_window.wait_until_closed(); + + return 0; } // ---------------------------------------------------------------------------- @@ -216,8 +218,7 @@ int WINAPI WinMain ( int ) { - main(); - return 0; + return main(); } #endif