1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-04 18:29:23 +02:00
This commit is contained in:
Nikolay Pultsin 2014-02-24 01:00:41 +00:00
parent 41d9dfffee
commit 3849860f70
4 changed files with 3 additions and 6 deletions

View file

@ -204,13 +204,13 @@ void XHTMLTagStyleAction::doAtEnd(XHTMLReader &reader) {
void XHTMLTagLinkAction::doAtStart(XHTMLReader &reader, const char **xmlattributes) {
static const std::string REL = "stylesheet";
const char *rel = reader.attributeValue(xmlattributes, "rel");
if ((rel == 0) || (REL != rel)) {
if (rel == 0 || REL != rel) {
return;
}
static const std::string TYPE = "text/css";
const char *type = reader.attributeValue(xmlattributes, "type");
if ((type == 0) || (TYPE != type)) {
if (type == 0 || TYPE != type) {
return;
}