summaryrefslogtreecommitdiffstats
path: root/src/unicoderange.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/unicoderange.cpp')
-rw-r--r--src/unicoderange.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unicoderange.cpp b/src/unicoderange.cpp
index 688969207..dcf461214 100644
--- a/src/unicoderange.cpp
+++ b/src/unicoderange.cpp
@@ -116,9 +116,9 @@ Glib::ustring UnicodeRange::attribute_string(){
gunichar UnicodeRange::sample_glyph(){
//This could be better
- if (unichars.size())
+ if (!unichars.empty())
return unichars[0];
- if (range.size())
+ if (!range.empty())
return hex2int(range[0].start);
return (gunichar) ' ';
}