elm_win: Initilize the variable 'preferred_rot' as a -1 before invoking _elm_win_xwin...
authorSeunghun Lee <shiin.lee@samsung.com>
Tue, 25 Aug 2015 11:41:18 +0000 (20:41 +0900)
committerChunEon Park <hermet@hermet.pe.kr>
Tue, 25 Aug 2015 11:42:17 +0000 (20:42 +0900)
commite05e2ab86032cf5623874cb39529d54c33d57581
tree6486448cfc83afcacdf6cd566623b5fd236f12ee
parent33faa2ffd8063dcbd7d06a1a27d6fa1d1c239e76
elm_win: Initilize the variable 'preferred_rot' as a -1 before invoking _elm_win_xwin_update() in _elm_win_finalize_internal().

Summary:
since the variable 'preferred_rot' is checked its validation in _elm_win_xwin_update(),
so, should be initialize it before invoking.

@fix

Reviewers: jypark, woohyun, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D2987
src/lib/elm_win.c