Diff for /Amaya/amaya/styleparser.c between versions 1.131 and 1.132

version 1.131, 2002/05/22 13:02:26 version 1.132, 2002/05/29 13:18:17
Line 4943  char ReadCSSRules (Document docRef, CSSI Line 4943  char ReadCSSRules (Document docRef, CSSI
                   else                    else
                     base = strstr (&CSSbuffer[import], "screen");                      base = strstr (&CSSbuffer[import], "screen");
                   if (base == NULL)                    if (base == NULL)
                        base = strstr (&CSSbuffer[import], "all");
                     if (base == NULL)
                     ignoreMedia = TRUE;                      ignoreMedia = TRUE;
                   noRule = TRUE;                    noRule = TRUE;
                 }                  }
Line 5015  char ReadCSSRules (Document docRef, CSSI Line 5017  char ReadCSSRules (Document docRef, CSSI
                           if (quoted)                            if (quoted)
                             cssRule--;                              cssRule--;
                           *cssRule = EOS;                            *cssRule = EOS;
                             if (TtaIsPrinting ())
                               base = strstr (&cssRule[1], "print");
                             else
                               base = strstr (&cssRule[1], "screen");
                             if (base == NULL)
                               base = strstr (&cssRule[1], "all");
                             if (base == NULL)
                               ignoreImport = TRUE;
                           if (!ignoreImport)                            if (!ignoreImport)
                             LoadStyleSheet (base, docRef, NULL, css,                              LoadStyleSheet (base, docRef, NULL, css,
                                             css->media[docRef],                                              css->media[docRef],

Removed from v.1.131  
changed lines
  Added in v.1.132


Webmaster