summaryrefslogtreecommitdiff
path: root/src/lib/font.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/font.cc')
-rw-r--r--src/lib/font.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/font.cc b/src/lib/font.cc
index ecf7aabf0..5cf30a2aa 100644
--- a/src/lib/font.cc
+++ b/src/lib/font.cc
@@ -21,9 +21,10 @@
#include <libxml++/libxml++.h>
Font::Font (cxml::NodePtr node)
+ : id (node->string_child ("Id"))
+ , file (node->optional_string_child ("File"))
{
- id = node->string_child ("Id");
- file = node->optional_string_child ("File");
+
}
void