The Birdfont Source Code


All Repositories / birdfont.git / commit – RSS feed

Search the UCD with wildcards

These changes was commited to the Birdfont repository Sat, 27 Jun 2015 07:49:10 +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>
Sat, 27 Jun 2015 07:49:10 +0000 (09:49 +0200)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Sat, 27 Jun 2015 07:49:10 +0000 (09:49 +0200)
commit 3993cb0c67a2a91f9695754a51121c5260613b83
tree 94285cdccc49ec1ce6a45c270c1234d45cdad7c6
parent a84d6fe28b916ef8e3f42c2fe3d597bfccf87a59
Search the UCD with wildcards

libbirdfont/CharDatabase.vala
--- a/libbirdfont/CharDatabase.vala +++ b/libbirdfont/CharDatabase.vala @@ -67,7 +67,7 @@ } select = "SELECT unicode FROM Words " - + "WHERE word = '" + s.replace ("'", "''") + "';"; + + "WHERE word GLOB '" + s.replace ("'", "''") + "';"; rc = db.prepare_v2 (select, select.length, out statement, null);