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)
commit8ef38a7e1335498220c1dad6109c3f035f878ffa (patch)
treee9c2b607fa747c61a49074514454eb483ac3ea93 /win/tkWinEmbed.c
parentb8d8c08583edeba5c3f7b6bce2e13c60c2323c47 (diff)
parent52482ab5023994148201c6b4e71c40b62809b205 (diff)
downloadtk-8ef38a7e1335498220c1dad6109c3f035f878ffa.zip
tk-8ef38a7e1335498220c1dad6109c3f035f878ffa.tar.gz
tk-8ef38a7e1335498220c1dad6109c3f035f878ffa.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);