/[qemacs]/qemacs/libqhtml/cssparse.c
ViewVC logotype

Diff of /qemacs/libqhtml/cssparse.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by chqrlie, Wed May 11 15:12:14 2005 UTC revision 1.5 by chqrlie, Fri Jul 8 09:30:44 2005 UTC
# Line 237  CSSProperty *css_parse_properties(CSSPar Line 237  CSSProperty *css_parse_properties(CSSPar
237      CSSProperty **last_prop, *first_prop;      CSSProperty **last_prop, *first_prop;
238      const CSSPropertyDef *def;      const CSSPropertyDef *def;
239    
240        val = 0;
241      first_prop = NULL;      first_prop = NULL;
242      last_prop = &first_prop;      last_prop = &first_prop;
243      p = props_str;      p = props_str;
# Line 384  CSSProperty *css_parse_properties(CSSPar Line 385  CSSProperty *css_parse_properties(CSSPar
385                  goto got_val;                  goto got_val;
386              }              }
387              if (type & CSS_TYPE_COLOR) {              if (type & CSS_TYPE_COLOR) {
388                    QEColor color;
389                  /* XXX: color parsing is not always discriminant */                  /* XXX: color parsing is not always discriminant */
390                  if (!css_get_color(&val, buf)) {                  if (!css_get_color(&color, buf)) {
391                        val = color;
392                      unit = CSS_VALUE_COLOR;                      unit = CSS_VALUE_COLOR;
393                      goto got_val;                      goto got_val;
394                  }                  }

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26