summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@noemail.net>2003-07-18 23:55:11 (GMT)
committerpatthoyts <patthoyts@noemail.net>2003-07-18 23:55:11 (GMT)
commit4c50182606a03e61ed43e750ff6331e57e29f642 (patch)
tree764ce0eea101570ceb40fbe866ae642eb17d6970
parent6b91f01ff6fc8cd9ee2a4cd852b37208bc153919 (diff)
downloadtk-4c50182606a03e61ed43e750ff6331e57e29f642.zip
tk-4c50182606a03e61ed43e750ff6331e57e29f642.tar.gz
tk-4c50182606a03e61ed43e750ff6331e57e29f642.tar.bz2
* win/tkWinCursor.c (TkGetCursorByName): Fix bug 420510 to provide
consistency between unix and windows -cursor option. FossilOrigin-Name: cbf38f1a3d0e52e3dc3ae63cc78b01cb0a976705
-rw-r--r--ChangeLog5
-rw-r--r--win/tkWinCursor.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index b9c2074..3c20b4f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-07-19 Pat Thoyts <patthoyts@users.sourceforge.net>
+
+ * win/tkWinCursor.c (TkGetCursorByName): Fix bug 420510 to provide
+ consistency between unix and windows -cursor option.
+
2003-07-18 Jeff Hobbs <jeffh@ActiveState.com>
* win/tkWinDialog.c: doubled the TK_MULTI_MAX_PATH value to ~10K.
diff --git a/win/tkWinCursor.c b/win/tkWinCursor.c
index 23a7618..b54bc2d 100644
--- a/win/tkWinCursor.c
+++ b/win/tkWinCursor.c
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkWinCursor.c,v 1.10 2002/08/05 04:30:41 dgp Exp $
+ * RCS: @(#) $Id: tkWinCursor.c,v 1.11 2003/07/18 23:55:13 patthoyts Exp $
*/
#include "tkWinInt.h"
@@ -98,7 +98,7 @@ TkGetCursorByName(interp, tkwin, string)
if (Tcl_SplitList(interp, string, &argc, &argv) != TCL_OK) {
return NULL;
}
- if (argc != 1) {
+ if (argc == 0) {
goto badCursorSpec;
}