]> granicus.if.org Git - cgit/commit
ui-snapshot.c: Do not reinvent suffixcmp()
authorLukas Fleischer <cgit@cryptocrack.de>
Fri, 10 Jan 2014 11:44:38 +0000 (12:44 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Fri, 10 Jan 2014 16:04:43 +0000 (17:04 +0100)
commite711679618ce704633f09bc10d2fe85291054536
tree924e1bf638612673c802941c6c548f92ba667939
parentf04b8d5c99afdc55178f1a06ff1594f5f0cc4be6
ui-snapshot.c: Do not reinvent suffixcmp()

Use suffixcmp() from Git instead of reimplementing it. This is a
preparation for moving to ends_with() in Git 1.8.6.

Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
ui-snapshot.c