+ fixed scx_XftPatternGet()

This commit is contained in:
eknauel 2003-10-25 13:47:23 +00:00
parent 6fa50d8c3d
commit a11b31a92f
1 changed files with 2 additions and 2 deletions

View File

@ -62,13 +62,13 @@ s48_value scx_XftPatternGet(s48_value sxp, s48_value sobj, s48_value sid)
tbl = lookup_pattern_property_by_id(obj);
rc = XftPatternGet(p, tbl->name, i, &v);
if ((rc != XftResultMatch) || (rc != XftResultNoMatch))
if (rc != XftResultMatch)
{
rl = s48_list_2(s48_enter_integer(rc), S48_UNSPECIFIC);
S48_GC_UNPROTECT();
return rl;
}
switch (tbl->type) {
case SCX_XFT_STRING:
rv = s48_enter_string(v.u.s);