summaryrefslogtreecommitdiffstats
path: root/win/tkWinEmbed.c
diff options
context:
space:
mode:
authorjan.nijtmans <jan.nijtmans@noemail.net>2011-08-13 21:51:23 (GMT)
committerjan.nijtmans <jan.nijtmans@noemail.net>2011-08-13 21:51:23 (GMT)
commit271966979ebb23d1d9b80acc63b314d1afb8f22d (patch)
treee9c2b607fa747c61a49074514454eb483ac3ea93 /win/tkWinEmbed.c
parent4f6cb4e1cb26315b591e53e79456e1c8c82caf70 (diff)
parent4fe5a4a3863b99849ff94e774cdaa111b8a8dc3b (diff)
downloadtk-271966979ebb23d1d9b80acc63b314d1afb8f22d.zip
tk-271966979ebb23d1d9b80acc63b314d1afb8f22d.tar.gz
tk-271966979ebb23d1d9b80acc63b314d1afb8f22d.tar.bz2
[Bug 3388350] mingw64 compiler warnings
FossilOrigin-Name: 3acc34aba2b836ac09d431135e0b0c64082a6029
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);