summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXScrlbr.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-06-17 13:02:57 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-06-17 13:02:57 (GMT)
commita983245e41399dd76602e12f17bc3170de207680 (patch)
tree259f9d0d5c7d566b56ccbd47b46ed7d05ac528c5 /macosx/tkMacOSXScrlbr.c
parentc7155c6da59086934fe2e1567f5c3b0335a5b693 (diff)
downloadtk-a983245e41399dd76602e12f17bc3170de207680.zip
tk-a983245e41399dd76602e12f17bc3170de207680.tar.gz
tk-a983245e41399dd76602e12f17bc3170de207680.tar.bz2
Move scrollbar sanity checks from platform-code to generic. Fix indenting in win/* files
Diffstat (limited to 'macosx/tkMacOSXScrlbr.c')
-rw-r--r--macosx/tkMacOSXScrlbr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tkMacOSXScrlbr.c b/macosx/tkMacOSXScrlbr.c
index 500a5cf..f5b25f1 100644
--- a/macosx/tkMacOSXScrlbr.c
+++ b/macosx/tkMacOSXScrlbr.c
@@ -649,8 +649,8 @@ UpdateControlValues(
|| height <= metrics.minHeight) {
msPtr->info.enableState = kThemeTrackHideTrack;
} else {
- msPtr->info.enableState = kThemeTrackActive;
- msPtr->info.attributes =
+ msPtr->info.enableState = kThemeTrackActive;
+ msPtr->info.attributes =
kThemeTrackShowThumb | kThemeTrackThumbRgnIsNotGhost;
}
}