summaryrefslogtreecommitdiffstats
path: root/generic/tkCanvText.c
diff options
context:
space:
mode:
authorhobbs <hobbs>1999-12-21 23:55:09 (GMT)
committerhobbs <hobbs>1999-12-21 23:55:09 (GMT)
commite3249c7140d13964c60a406053e850c11fe0a8d3 (patch)
tree2bdd8c171e7711b0c956672d13d8df8239573690 /generic/tkCanvText.c
parentc30bbd5faddbda1bb9f7ce951124d2c87110f082 (diff)
downloadtk-e3249c7140d13964c60a406053e850c11fe0a8d3.zip
tk-e3249c7140d13964c60a406053e850c11fe0a8d3.tar.gz
tk-e3249c7140d13964c60a406053e850c11fe0a8d3.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.
Diffstat (limited to 'generic/tkCanvText.c')
-rw-r--r--generic/tkCanvText.c5
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) {