Proper error code for exit() is 1, not -1. But it's better to use the macro
EXIT_FAILURE. Doing so now. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1157 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -130,7 +130,7 @@ TFB_InitSound (int driver, int flags)
|
||||
"This may happen when a soundcard is "
|
||||
"not present or not available.\n"
|
||||
"NOTICE: Try running UQM with '--sound=none' option\n");
|
||||
exit (-1);
|
||||
exit (EXIT_FAILURE);
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user