summaryrefslogtreecommitdiffstats
path: root/generic/tkScrollbar.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2007-09-08 16:01:20 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2007-09-08 16:01:20 (GMT)
commitdcf3897c755ed042d4b1b5b8481d5c83c2a928b4 (patch)
treed5a99eedcb31cb044b54e5d7374154706dca4762 /generic/tkScrollbar.c
parentba5dd50b0b3e182eb634bb7cf638870f2954e500 (diff)
downloadtk-dcf3897c755ed042d4b1b5b8481d5c83c2a928b4.zip
tk-dcf3897c755ed042d4b1b5b8481d5c83c2a928b4.tar.gz
tk-dcf3897c755ed042d4b1b5b8481d5c83c2a928b4.tar.bz2
Assorted minor cleanups.
Diffstat (limited to 'generic/tkScrollbar.c')
-rw-r--r--generic/tkScrollbar.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/generic/tkScrollbar.c b/generic/tkScrollbar.c
index 3ac932f..932b6dd 100644
--- a/generic/tkScrollbar.c
+++ b/generic/tkScrollbar.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkScrollbar.c,v 1.9 2007/09/07 00:34:53 dgp Exp $
+ * RCS: @(#) $Id: tkScrollbar.c,v 1.10 2007/09/08 16:01:20 dkf Exp $
*/
#include "tkInt.h"
@@ -288,8 +288,7 @@ ScrollbarWidgetCmd(
&& (length >= 2)) {
if (argc == 2) {
result = Tk_ConfigureInfo(interp, scrollPtr->tkwin,
- tkpScrollbarConfigSpecs, (char *) scrollPtr,
- NULL, 0);
+ tkpScrollbarConfigSpecs, (char *) scrollPtr, NULL, 0);
} else if (argc == 3) {
result = Tk_ConfigureInfo(interp, scrollPtr->tkwin,
tkpScrollbarConfigSpecs, (char *) scrollPtr, argv[2], 0);
@@ -597,7 +596,7 @@ TkScrollbarEventProc(
if (scrollPtr->tkwin != NULL) {
scrollPtr->tkwin = NULL;
Tcl_DeleteCommandFromToken(scrollPtr->interp,
- scrollPtr->widgetCmd);
+ scrollPtr->widgetCmd);
}
if (scrollPtr->flags & REDRAW_PENDING) {
Tcl_CancelIdleCall(TkpDisplayScrollbar, (ClientData) scrollPtr);