summaryrefslogtreecommitdiffstats
path: root/src/unicoderange.cpp
diff options
context:
space:
mode:
authorAndrew Higginson <at.higginson@gmail.com>2011-12-27 21:04:47 +0000
committerAndrew <at.higginson@gmail.com>2011-12-27 21:04:47 +0000
commit80960b623a99aae1402ab651b2974ef544ed3b03 (patch)
treeba49d42c2789e9e11f805e2d5263e10f9fedeef8 /src/unicoderange.cpp
parenttry to fix bug (diff)
parentGDL: Cherry-pick upstream patch 73852 (2011-03-23) - Add missing return value. (diff)
downloadinkscape-80960b623a99aae1402ab651b2974ef544ed3b03.tar.gz
inkscape-80960b623a99aae1402ab651b2974ef544ed3b03.zip
merged with trunk so I can build again...
(bzr r10092.1.36)
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) ' ';
}