summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/button.test2
-rw-r--r--tests/text.test2
-rw-r--r--win/tkWinDialog.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/button.test b/tests/button.test
index 28d8934..d7fb06d 100644
--- a/tests/button.test
+++ b/tests/button.test
@@ -3924,7 +3924,7 @@ test button-14.1 {bug fix: [011706ec42] tk::ButtonInvoke unsafe wrt widget destr
update ; # shall not trigger error invalid command name ".top.b"
} -cleanup {
destroy .top.b .top
-} -result {}
+} -result {}
imageFinish
cleanupTests
diff --git a/tests/text.test b/tests/text.test
index 146e338..0d2fd70 100644
--- a/tests/text.test
+++ b/tests/text.test
@@ -3062,7 +3062,7 @@ test text-11a.51 {<<WidgetViewSync>> calls TkSendVirtualEvent(),
toplevel .top
pack [text .top.t]
for {set i 1} {$i < 10000} {incr i} {
- .top.t insert end "Hello world!\n"
+ .top.t insert end "Hello world!\n"
}
bind .top.t <<WidgetViewSync>> {destroy .top.t}
.top.t tag add mytag 1.5 8000.8 ; # shall not crash
diff --git a/win/tkWinDialog.c b/win/tkWinDialog.c
index 64b3eac..a7d8c7d 100644
--- a/win/tkWinDialog.c
+++ b/win/tkWinDialog.c
@@ -679,7 +679,7 @@ static void LoadShellProcs()
* poll the message queue consuming WM_LBUTTONUP messages.
* On seeing a WM_LBUTTONDOWN message, it would exit early, since the user
* must be doing something new. However this early exit does not work
- * on Vista and later because the Windows sends both BUTTONDOWN and
+ * on Vista and later because the Windows sends both BUTTONDOWN and
* BUTTONUP after the DBLCLICK instead of just BUTTONUP as on XP.
* Rather than try and figure out version specific sequences, we
* ignore all mouse events in that interval.
@@ -704,7 +704,7 @@ EatSpuriousMessageBugFix(void)
DWORD nTime = GetTickCount() + 250;
while (GetTickCount() < nTime) {
- PeekMessageA(&msg, 0, WM_MOUSEFIRST, WM_MOUSELAST, PM_REMOVE);
+ PeekMessage(&msg, 0, WM_MOUSEFIRST, WM_MOUSELAST, PM_REMOVE);
}
}