break when property was found, fix formatting
SVN revision: 42897
This commit is contained in:
parent
a26cde7b3d
commit
abdb6c1591
|
@ -383,11 +383,13 @@ check_mwm_supported(void)
|
||||||
|
|
||||||
if ((type_ret == XA_ATOM) &&
|
if ((type_ret == XA_ATOM) &&
|
||||||
(format_ret == 32) &&
|
(format_ret == 32) &&
|
||||||
(num_ret && prop_ret))
|
(num_ret && prop_ret)) {
|
||||||
{
|
for (i = 0; i < num_ret; i++) {
|
||||||
for (i = 0; i < num_ret; i++)
|
if (mwm_prop == ((unsigned long*)prop_ret)[i]) {
|
||||||
if (mwm_prop == ((unsigned long*)prop_ret)[i])
|
|
||||||
supported = 1;
|
supported = 1;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (prop_ret)
|
if (prop_ret)
|
||||||
XFree(prop_ret);
|
XFree(prop_ret);
|
||||||
|
|
Loading…
Reference in New Issue