text: fix choosing fallback backend
authorDavid Herrmann <dh.herrmann@googlemail.com>
Fri, 10 Aug 2012 09:48:28 +0000 (11:48 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Fri, 10 Aug 2012 09:48:28 +0000 (11:48 +0200)
commit2652637fb9d0e0878cc0233e7c3a16b2b27beb97
tree590892fdeaafb35505c03a9296e6bc9561e038dc
parentdf84e9f2173f2c3715d4f3b02a8a52189d992423
text: fix choosing fallback backend

We didn't correctly choose the fallback backend but instead used the
last-registered backend. Fix this.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/text.c