]> git.wh0rd.org - fontconfig.git/commit
FcStrPlus: optimize a little
authorMike Frysinger <vapier@gentoo.org>
Mon, 7 Nov 2011 19:25:51 +0000 (14:25 -0500)
committerMike Frysinger <vapier@gentoo.org>
Tue, 21 Feb 2012 19:09:51 +0000 (14:09 -0500)
commit6f020161e8628546158766ce7a5f5e0ce1f7d95a
treef953c0b57a5ebf04f0b3f5e372f9cf300cda68a9
parent2b010e46e629f118885f17ba860e9c4ddbba8779
FcStrPlus: optimize a little

We've already calculated the lengths of these strings, so re-use those
values to avoid having to rescan the strings multiple times.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
src/fcstr.c