Minor fix.

SVN revision: 30764
This commit is contained in:
Kim Woelders 2007-07-11 10:05:57 +00:00
parent 0ce0bf25f5
commit 9043bf2fda
1 changed files with 1 additions and 1 deletions

View File

@ -1154,7 +1154,7 @@ ECompMgrWinSetShape(EObj * eo)
{
cw->shape = ERegionCreateFromWindow(EobjGetXwin(eo));
if (WinIsShaped(EobjGetWin(eo)) > 0)
if (WinIsShaped(EobjGetWin(eo)))
{
/* Intersect with window size to get effective bounding region */
ERegionSetRect(rgn_tmp, 0, 0, EobjGetW(eo), EobjGetH(eo));