summaryrefslogtreecommitdiffstats
path: root/win/tkWinEmbed.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-13 21:51:23 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-13 21:51:23 (GMT)
commit0edc144061461b953360aecd132e523ba91f09dd (patch)
treee9c2b607fa747c61a49074514454eb483ac3ea93 /win/tkWinEmbed.c
parent1666bb95721c4472aec20f876e5f197d90e7628a (diff)
parentf967d5778d14a31469b8667667bcc65049c4e542 (diff)
downloadtk-0edc144061461b953360aecd132e523ba91f09dd.zip
tk-0edc144061461b953360aecd132e523ba91f09dd.tar.gz
tk-0edc144061461b953360aecd132e523ba91f09dd.tar.bz2
[Bug 3388350] mingw64 compiler warnings
Diffstat (limited to 'win/tkWinEmbed.c')
-rw-r--r--win/tkWinEmbed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tkWinEmbed.c b/win/tkWinEmbed.c
index 4277978..bc86019 100644
--- a/win/tkWinEmbed.c
+++ b/win/tkWinEmbed.c
@@ -736,7 +736,7 @@ TkWinEmbeddedEventProc(
*/
if (topwinPtr) {
- if (wParam >= 0 && wParam <= 3) {
+ if (wParam <= 3) {
TkpWmSetState(topwinPtr, wParam);
}
result = 1+TkpWmGetState(topwinPtr);