The Birdfont Source Code


All Repositories / birdfont.git / commit – RSS feed

Fix warning

These changes was commited to the Birdfont repository Wed, 09 Oct 2019 17:47:46 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
author Johan Mattsson <johan.mattsson.m@gmail.com>
Wed, 09 Oct 2019 17:47:46 +0000 (19:47 +0200)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Wed, 09 Oct 2019 17:47:46 +0000 (19:47 +0200)
commit 03d4172f857126ecf6afb1458a06315ca3f7f6bd
tree 998f490836f3db1db95dfeb63ef4c7f2e825a6cd
parent fb419e3a3dfb07a6802c1c3f423ec75b0106180b
Fix warning

libbirdfont/Font.vala
--- a/libbirdfont/Font.vala +++ b/libbirdfont/Font.vala @@ -599,9 +599,10 @@ return; } - gc = glyph_name.get (glyph_collection.get_name ()); + string name = glyph_collection.get_name (); + gc = glyph_name.get (name); if (unlikely (gc != null)) { - warning ("glyph has already been added"); + warning ("glyph has already been added: " + name); return; }