Remove chop().
authorAndre Noll <maan@systemlinux.org>
Tue, 7 Jan 2014 00:25:38 +0000 (00:25 +0000)
committerAndre Noll <maan@systemlinux.org>
Sun, 4 May 2014 13:48:53 +0000 (15:48 +0200)
commitefbb7fcd1fc143a046cfa4b44dbb527b248e110b
treeafeca8508886593964fabbcdeac0c927a50ccb3f
parent3d9df3244a04aaf5c0c216f2e475f5355cf9721b
Remove chop().

In curses_log() we currently we call chop(), which calls strlen()
to find the last character of the given string. This is unnecessary
since xvasprintf() returns this information anyway, we just have to
remember it.

With this change the last user of chop() is gone, so this patch
removes chop() from string.c.
gui.c
string.c
string.h