Context: Code simplification

This commit is contained in:
Paul Beckingham 2015-08-14 16:31:57 -04:00
parent 8eb321d8f0
commit 5059897b50

View file

@ -220,10 +220,7 @@ int Context::initialize (int argc, const char** argv)
if (combined.length ()) if (combined.length ())
combined += ' '; combined += ' ';
if (a.attribute ("canonical") != "") combined += a.getToken ();
combined += a.attribute ("canonical");
else
combined += a.attribute ("raw");
if (a.hasTag ("DEFAULT")) if (a.hasTag ("DEFAULT"))
foundDefault = true; foundDefault = true;