aboutsummaryrefslogtreecommitdiff
path: root/jim-win32.c
diff options
context:
space:
mode:
authorantirez <antirez>2005-02-28 12:31:08 +0000
committerantirez <antirez>2005-02-28 12:31:08 +0000
commitd2eede78abab64cc2c8f746c2195ef56d17ffd3f (patch)
treeee47425d0946a3843c7ec2c8faf9a84f71200e22 /jim-win32.c
parent0e96cfdad61e208cd00eb555c2ecd6e7ae34a35e (diff)
downloadjimtcl-d2eede78abab64cc2c8f746c2195ef56d17ffd3f.zip
jimtcl-d2eede78abab64cc2c8f746c2195ef56d17ffd3f.tar.gz
jimtcl-d2eede78abab64cc2c8f746c2195ef56d17ffd3f.tar.bz2
jim-win32 changes to fix the last commit.
Diffstat (limited to 'jim-win32.c')
-rw-r--r--jim-win32.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/jim-win32.c b/jim-win32.c
index ee55c09..253becd 100644
--- a/jim-win32.c
+++ b/jim-win32.c
@@ -22,6 +22,7 @@
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <shellapi.h>
+#include <ctype.h>
#define JIM_EXTENSION
#include "jim.h"
@@ -127,8 +128,8 @@ Win32_CloseWindow(Jim_Interp *interp, int objc, Jim_Obj **objv)
return JIM_ERR;
if (!CloseWindow((HWND)hwnd)) {
Jim_SetResult(interp,
- Win32ErrorObj(interp, "closewindow", GetLastError()));^M
- return JIM_ERR;
+ Win32ErrorObj(interp, "closewindow", GetLastError()));
+ return JIM_ERR;
}
return JIM_OK;
}