Commit e1248825 authored by Davis King's avatar Davis King

Minor cleanup in example.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403272
parent 07588979
...@@ -196,6 +196,8 @@ int main() ...@@ -196,6 +196,8 @@ int main()
// wait until the user closes this window before we let the program // wait until the user closes this window before we let the program
// terminate. // terminate.
my_window.wait_until_closed(); my_window.wait_until_closed();
return 0;
} }
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
...@@ -216,8 +218,7 @@ int WINAPI WinMain ( ...@@ -216,8 +218,7 @@ int WINAPI WinMain (
int int
) )
{ {
main(); return main();
return 0;
} }
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment