diff options
author | hobbs <hobbs@noemail.net> | 1999-12-21 23:55:09 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 1999-12-21 23:55:09 (GMT) |
commit | 913608d019e0eec96531da4e79e68fdb1c1964dc (patch) | |
tree | 2bdd8c171e7711b0c956672d13d8df8239573690 /generic/tkCanvText.c | |
parent | a510033b2128cf31795ee04a1db4b9b4ef4f724a (diff) | |
download | tk-913608d019e0eec96531da4e79e68fdb1c1964dc.zip tk-913608d019e0eec96531da4e79e68fdb1c1964dc.tar.gz tk-913608d019e0eec96531da4e79e68fdb1c1964dc.tar.bz2 |
* generic/tk.h:
* README: updated for patch level 8.3b1
* generic/tkScale.c:
* generic/tkScale.h: fixed possible core when freeing options
(cursor) associated with scale widget [Bug: 3897]
* generic/tk3d.c: added extra calculations to ensure that thin
frames get refreshed too [Bug: 3596]
* generic/tkCanvText.c:
* generic/tkEntry.c:
* generic/tkFont.c:
* generic/tkImgPPM.c: removed extranneous vars that were set but
never used.
FossilOrigin-Name: 118f57e195c97d1a9021d675498d777fe0c37e5a
Diffstat (limited to 'generic/tkCanvText.c')
-rw-r--r-- | generic/tkCanvText.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/generic/tkCanvText.c b/generic/tkCanvText.c index 4e826e9..fa419c3 100644 --- a/generic/tkCanvText.c +++ b/generic/tkCanvText.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkCanvText.c,v 1.7 1999/12/14 06:52:26 hobbs Exp $ + * RCS: @(#) $Id: tkCanvText.c,v 1.8 1999/12/21 23:55:10 hobbs Exp $ */ #include <stdio.h> @@ -767,9 +767,6 @@ DisplayCanvText(canvas, itemPtr, display, drawable, x, y, width, height) selLastChar = 0; /* lint. */ if (textInfoPtr->selItemPtr == itemPtr) { - char *text; - - text = textPtr->text; selFirstChar = textInfoPtr->selectFirst; selLastChar = textInfoPtr->selectLast; if (selLastChar > textPtr->numChars) { |