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:
meep-eep
2003-08-31 03:46:36 +00:00
parent 68eee4a5b8
commit 5e8084cc92
+1 -1
View File
@@ -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;