From 274d0e966cb4a2309fe6e49693b4095098e8defd Mon Sep 17 00:00:00 2001 From: Doyoun Kang Date: Mon, 17 Jul 2017 18:32:19 +0900 Subject: [PATCH] e_comp_wl_video: fix bug detected by static analysis tool Change-Id: I676435a9eb4b9934e0361b0c7974a232efa93b80 --- src/bin/e_comp_wl_video.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/e_comp_wl_video.c b/src/bin/e_comp_wl_video.c index e53d50d6b7..6f8aa49ecf 100644 --- a/src/bin/e_comp_wl_video.c +++ b/src/bin/e_comp_wl_video.c @@ -1660,9 +1660,9 @@ _e_video_set(E_Video *video, E_Client *ec) maxw = MIN(omaxw, pmaxw); if (omaxh != -1 && pmaxh == -1) - maxw = omaxh; + maxh = omaxh; else if (omaxh == -1 && pmaxh != -1) - maxw = pmaxh; + maxh = pmaxh; else maxh = MIN(omaxh, pmaxh); -- 2.34.1