+ fixed scx_XftPatternGet()
This commit is contained in:
		
							parent
							
								
									6fa50d8c3d
								
							
						
					
					
						commit
						a11b31a92f
					
				| 
						 | 
				
			
			@ -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);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue