A bit of windows debugging. gsoc2008_force_feedback
authorEdgar Simo <bobbens@gmail.com>
Mon, 04 Aug 2008 14:44:21 +0000
branchgsoc2008_force_feedback
changeset 2583 2ae5b4fc6af5
parent 2582 9f0f0a532343
child 2584 e8644f625d45
A bit of windows debugging.
src/video/win32/SDL_win32window.c
--- a/src/video/win32/SDL_win32window.c	Mon Aug 04 11:30:16 2008 +0000
+++ b/src/video/win32/SDL_win32window.c	Mon Aug 04 14:44:21 2008 +0000
@@ -436,7 +436,7 @@
          CW_USEDEFAULT, HWND_MESSAGE, NULL, hInstance, NULL);
 
    if (SDL_HelperWindow == NULL) {
-      SDL_SetError("Unable to create Helper Window.");
+      SDL_SetError("Unable to create Helper Window: error %d.", GetLastError());
       return -1;
    }