changeset 2583:2ae5b4fc6af5 gsoc2008_force_feedback

A bit of windows debugging.
author Edgar Simo <bobbens@gmail.com>
date Mon, 04 Aug 2008 14:44:21 +0000
parents 9f0f0a532343
children e8644f625d45
files src/video/win32/SDL_win32window.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;
    }