correct return handling

SVN revision: 14399
This commit is contained in:
Carsten Haitzler 2005-04-27 07:46:57 +00:00
parent bee9d128ea
commit 0f3c218fb3
1 changed files with 2 additions and 2 deletions

View File

@ -355,8 +355,8 @@ ecore_x_icccm_size_pos_hints_get(Ecore_X_Window win,
int stepx = 1, stepy = 1;
double mina = 0.0, maxa = 0.0;
if (XGetWMNormalHints(_ecore_x_disp, win, &hint, &mask) < Success)
return 0;
if (!XGetWMNormalHints(_ecore_x_disp, win, &hint, &mask))
return 0;
if ((hint.flags & USPosition) || ((hint.flags & PPosition)))
{
if (request_pos)