diff options
author | patthoyts <patthoyts@users.sourceforge.net> | 2003-07-18 23:55:12 (GMT) |
---|---|---|
committer | patthoyts <patthoyts@users.sourceforge.net> | 2003-07-18 23:55:12 (GMT) |
commit | 7fa7bb9ea8af6d9f7a5fd64deea47c57ceed30a6 (patch) | |
tree | 764ce0eea101570ceb40fbe866ae642eb17d6970 /win/tkWinCursor.c | |
parent | 3164fad470150ec4edf1b5993c0e632cb7d5adf9 (diff) | |
download | tk-7fa7bb9ea8af6d9f7a5fd64deea47c57ceed30a6.zip tk-7fa7bb9ea8af6d9f7a5fd64deea47c57ceed30a6.tar.gz tk-7fa7bb9ea8af6d9f7a5fd64deea47c57ceed30a6.tar.bz2 |
* win/tkWinCursor.c (TkGetCursorByName): Fix bug 420510 to provide
consistency between unix and windows -cursor option.
Diffstat (limited to 'win/tkWinCursor.c')
-rw-r--r-- | win/tkWinCursor.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |