windows: Use throwFormattedException, not throwException in tryLoadOpenAL()

This commit is contained in:
Elias Naur 2007-11-14 11:10:52 +00:00
parent b19f24ec61
commit 5e830de033
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ void tryLoadLibrary(JNIEnv *env, jstring path) {
if (handleOAL != NULL) {
printfDebugJava(env, "Found OpenAL at '%s'", path_str);
} else {
throwException(env, "Could not load OpenAL library (%d)", GetLastError());
throwFormattedException(env, "Could not load OpenAL library (%d)", GetLastError());
}
free(path_str);
}