Minor cleanup in example.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403272
This commit is contained in:
Davis King 2009-11-29 13:55:42 +00:00
parent 0758897909
commit e12488258e

View File

@ -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 (
int int
) )
{ {
main(); return main();
return 0;
} }
#endif #endif