From 5e830de033d96f187cb5cfac7102f24363f48542 Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Wed, 14 Nov 2007 11:10:52 +0000 Subject: [PATCH] windows: Use throwFormattedException, not throwException in tryLoadOpenAL() --- src/native/windows/windows_al.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/native/windows/windows_al.c b/src/native/windows/windows_al.c index 8cf0ffad..42999553 100644 --- a/src/native/windows/windows_al.c +++ b/src/native/windows/windows_al.c @@ -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); }