diff options
| author | Andrew Higginson <at.higginson@gmail.com> | 2011-12-27 21:04:47 +0000 |
|---|---|---|
| committer | Andrew <at.higginson@gmail.com> | 2011-12-27 21:04:47 +0000 |
| commit | 80960b623a99aae1402ab651b2974ef544ed3b03 (patch) | |
| tree | ba49d42c2789e9e11f805e2d5263e10f9fedeef8 /src/unicoderange.cpp | |
| parent | try to fix bug (diff) | |
| parent | GDL: Cherry-pick upstream patch 73852 (2011-03-23) - Add missing return value. (diff) | |
| download | inkscape-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.cpp | 4 |
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) ' '; } |
