Skip to content

Commit

Permalink
Return proper error code if app fails to start
Browse files Browse the repository at this point in the history
  • Loading branch information
drhelius committed Dec 7, 2023
1 parent 35bcf35 commit 5e7ebb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platforms/desktop-shared/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ int main(int argc, char* argv[])
{
int ret = application_init((argc == 2) ? argv[1] : NULL);

if (ret >= 0)
if (ret == 0)
application_mainloop();

application_destroy();
Expand Down

0 comments on commit 5e7ebb6

Please sign in to comment.