From 977adcb127711bcd0fdb27224c837d70250bc244 Mon Sep 17 00:00:00 2001 From: ChunEon Park Date: Wed, 21 Nov 2012 12:50:17 +0000 Subject: [PATCH] elementary/win - Dont be allow under -320 to be passed thorough. babieri, you still read the commits! Anyway thanks for reporting. SVN revision: 79510 --- legacy/elementary/src/lib/elm_win.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/legacy/elementary/src/lib/elm_win.c b/legacy/elementary/src/lib/elm_win.c index a59ecc5fa6..2b4862a816 100644 --- a/legacy/elementary/src/lib/elm_win.c +++ b/legacy/elementary/src/lib/elm_win.c @@ -3462,8 +3462,8 @@ _win_rotation_degree_check(int rotation) { if ((rotation > 360) || (rotation < 0)) { - WRN("Rotation degree should be 0 ~ 360"); - if (rotation > 360) rotation %= 360; + WRN("Rotation degree should be 0 ~ 360 (passed degree: %d)", rotation); + rotation %= 360; if (rotation < 0) rotation += 360; } return rotation;