mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-04 18:29:23 +02:00
cleanup
This commit is contained in:
parent
41d9dfffee
commit
3849860f70
4 changed files with 3 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue