diff options
author | hobbs <hobbs> | 2003-07-19 01:02:51 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2003-07-19 01:02:51 (GMT) |
commit | fd4e8857c1e474bd6b7012be844f05cc3043a13e (patch) | |
tree | d9306410d4b74842d3718e14b3eea05b1b6eda2d /win/tkWinCursor.c | |
parent | 2f5d313e543bab3894f4059267dfa29d9ce7cad9 (diff) | |
download | tk-fd4e8857c1e474bd6b7012be844f05cc3043a13e.zip tk-fd4e8857c1e474bd6b7012be844f05cc3043a13e.tar.gz tk-fd4e8857c1e474bd6b7012be844f05cc3043a13e.tar.bz2 |
* win/tkWinCursor.c (TkGetCursorByName): Fix bug 420510 to provide
consistency between unix and windows -cursor option. (thoyts)
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..742bed9 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.10.2.1 2003/07/19 01:02:51 hobbs 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; } |