diff options
author | dkf <dkf@noemail.net> | 2002-06-11 08:25:48 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2002-06-11 08:25:48 (GMT) |
commit | eb84b3c9084e450c00aa1382d2e3ce8b11de8036 (patch) | |
tree | b9bd3dfad040eb23fbe06d6041db57dc1c289a63 /win | |
parent | 8c4240c235a245a9c40544740470d7f7996db8f5 (diff) | |
download | tk-eb84b3c9084e450c00aa1382d2e3ce8b11de8036.zip tk-eb84b3c9084e450c00aa1382d2e3ce8b11de8036.tar.gz tk-eb84b3c9084e450c00aa1382d2e3ce8b11de8036.tar.bz2 |
D'oh! Next time, I should at least check I've got the variable names right.
FossilOrigin-Name: 490767a8ed3439f7f419a237d2ca7e7386868e3a
Diffstat (limited to 'win')
-rw-r--r-- | win/tkWinCursor.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/win/tkWinCursor.c b/win/tkWinCursor.c index da5ce4b..a7e5542 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.6 2002/06/06 20:41:54 dkf Exp $ + * RCS: @(#) $Id: tkWinCursor.c,v 1.7 2002/06/11 08:25:49 dkf Exp $ */ #include "tkWinInt.h" @@ -133,14 +133,14 @@ TkGetCursorByName(interp, tkwin, string) */ for (namePtr = cursorNames; namePtr->name != NULL; namePtr++) { - if (strcmp(namePtr->name, name[0]) == 0) { + if (strcmp(namePtr->name, argv[0]) == 0) { /* * It is either a system cursor or one of ours! */ cursorPtr->winCursor = LoadCursor(NULL, namePtr->id); if (cursorPtr->winCursor == NULL) { cursorPtr->winCursor = - LoadCursor(Tk_GetHINSTANCE(), name[0]); + LoadCursor(Tk_GetHINSTANCE(), argv[0]); cursorPtr->system = 0; } else { cursorPtr->system = 1; |