From 5059897b5078755b3f3a4113bf7aba4cba71eeb4 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Fri, 14 Aug 2015 16:31:57 -0400 Subject: [PATCH] Context: Code simplification --- src/Context.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Context.cpp b/src/Context.cpp index 1f59ab699..d9dafe095 100644 --- a/src/Context.cpp +++ b/src/Context.cpp @@ -220,10 +220,7 @@ int Context::initialize (int argc, const char** argv) if (combined.length ()) combined += ' '; - if (a.attribute ("canonical") != "") - combined += a.attribute ("canonical"); - else - combined += a.attribute ("raw"); + combined += a.getToken (); if (a.hasTag ("DEFAULT")) foundDefault = true;