summaryrefslogtreecommitdiffstats
path: root/generic/ttk/ttkScrollbar.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-05-19 14:29:21 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-05-19 14:29:21 (GMT)
commitcfbc3c771ffeb37035a441691dc40eceb3945542 (patch)
treedaae83e1d51561a9ab56cc3a68c739c22a01db07 /generic/ttk/ttkScrollbar.c
parent20e20256fb9780f6ab3a1846344ce6605e9a85ae (diff)
downloadtk-cfbc3c771ffeb37035a441691dc40eceb3945542.zip
tk-cfbc3c771ffeb37035a441691dc40eceb3945542.tar.gz
tk-cfbc3c771ffeb37035a441691dc40eceb3945542.tar.bz2
Fix XOffsetRegion/XUnionRegion prototypes (not currently used). Remove unneccessary white-space.
Diffstat (limited to 'generic/ttk/ttkScrollbar.c')
-rw-r--r--generic/ttk/ttkScrollbar.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/ttk/ttkScrollbar.c b/generic/ttk/ttkScrollbar.c
index 5b0c212..9d99ea5 100644
--- a/generic/ttk/ttkScrollbar.c
+++ b/generic/ttk/ttkScrollbar.c
@@ -22,7 +22,7 @@ typedef struct
double first; /* top fraction */
double last; /* bottom fraction */
- Ttk_Box troughBox; /* trough parcel */
+ Ttk_Box troughBox; /* trough parcel */
int minSize; /* minimum size of thumb */
} ScrollbarPart;
@@ -50,7 +50,7 @@ static Tk_OptionSpec ScrollbarOptionSpecs[] =
* +++ Widget hooks.
*/
-static void
+static void
ScrollbarInitialize(Tcl_Interp *interp, void *recordPtr)
{
Scrollbar *sb = recordPtr;
@@ -241,7 +241,7 @@ ScrollbarDeltaCommand(
/* $sb fraction $x $y --
* Returns a real number between 0 and 1 indicating where the
- * point given by x and y lies in the trough area of the scrollbar.
+ * point given by x and y lies in the trough area of the scrollbar.
*/
static int
ScrollbarFractionCommand(