summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2017-07-29 18:55:49 +0200
committerDavid Tardon <dtardon@redhat.com>2017-07-29 18:55:49 +0200
commit9473a2fa788bcf9ae3be94bf83a5cbbf7e8831bb (patch)
treeea9135fb8041b553237d9c506b489d00d9c204c2
parent59c14218dcba5ba624c8e5a8f36920b2ede88200 (diff)
fix build
-rw-r--r--src/lib/SW602Font.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/SW602Font.h b/src/lib/SW602Font.h
index 9d25c36..6dac814 100644
--- a/src/lib/SW602Font.h
+++ b/src/lib/SW602Font.h
@@ -185,7 +185,7 @@ public:
//! returns true if the font id is initialized
bool isSet() const
{
- return m_id;
+ return bool(m_id);
}
//! inserts the set value in the current font
void insert(SW602Font const &ft)