mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Minor cleanup in example.
--HG-- extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403272
This commit is contained in:
parent
0758897909
commit
e12488258e
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user