summaryrefslogtreecommitdiffstats
path: root/generic/qebind.c
diff options
context:
space:
mode:
authorhobbs2 <hobbs2>2008-02-22 20:02:25 (GMT)
committerhobbs2 <hobbs2>2008-02-22 20:02:25 (GMT)
commit71c9f66e96564c6c64a0af9a7ae8c06d4e65ceec (patch)
treea1d57440a6c59be3bd9fe493b1095a5bd0c4769d /generic/qebind.c
parentcc0ebd8c98554e1de39557862b280a3418d34044 (diff)
downloadtktreectrl-71c9f66e96564c6c64a0af9a7ae8c06d4e65ceec.zip
tktreectrl-71c9f66e96564c6c64a0af9a7ae8c06d4e65ceec.tar.gz
tktreectrl-71c9f66e96564c6c64a0af9a7ae8c06d4e65ceec.tar.bz2
* generic/tkTreeNotify.c (Percents_ItemDelete, ExpandItemList)
(Percents_ItemVisibility, Percents_Selection): remove TclFormatInt * generic/qebind.c (QE_ExpandNumber): references and add ExpandItemList to simplify item list expansion. Corrects crash with 8.4-built treectrl used in 8.5.
Diffstat (limited to 'generic/qebind.c')
-rw-r--r--generic/qebind.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/generic/qebind.c b/generic/qebind.c
index e7326b0..e3b0819 100644
--- a/generic/qebind.c
+++ b/generic/qebind.c
@@ -5,7 +5,7 @@
*
* Copyright (c) 2002-2008 Tim Baker
*
- * RCS: @(#) $Id: qebind.c,v 1.19 2008/01/22 01:03:02 treectrl Exp $
+ * RCS: @(#) $Id: qebind.c,v 1.20 2008/02/22 20:02:25 hobbs2 Exp $
*/
/*
@@ -1453,7 +1453,6 @@ void QE_ExpandNumber(long number, Tcl_DString *result)
{
char numStorage[TCL_INTEGER_SPACE];
- /* TclFormatInt() */
(void) sprintf(numStorage, "%ld", number);
Tcl_DStringAppend(result, numStorage, -1);
/* QE_ExpandString(numStorage, result); */