diff --git a/src/native/win32/org_lwjgl_input_Controller.cpp b/src/native/win32/org_lwjgl_input_Controller.cpp index 1ab0420c..8fe54b51 100644 --- a/src/native/win32/org_lwjgl_input_Controller.cpp +++ b/src/native/win32/org_lwjgl_input_Controller.cpp @@ -119,7 +119,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_input_Controller_nCreate(JNIEnv *env, jcla // assert that window has been created if(hwnd == NULL) { - throwException(env, "Please create the window before initializing input devices\n"); + throwException(env, "Please create the window before initializing input devices"); return; } diff --git a/src/native/win32/org_lwjgl_input_Mouse.cpp b/src/native/win32/org_lwjgl_input_Mouse.cpp index 5f86dc51..db560c4a 100644 --- a/src/native/win32/org_lwjgl_input_Mouse.cpp +++ b/src/native/win32/org_lwjgl_input_Mouse.cpp @@ -110,7 +110,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_input_Mouse_nCreate(JNIEnv *env, jclass cl // assert that Direct Input has been created if(lpdi == NULL) { - throwException(env, "Please create the window before initializing input devices\n"); + throwException(env, "Please create the window before initializing input devices"); return; }