From: Jaakko Heinonen Date: Sun, 25 Sep 2005 11:08:18 +0000 (+0000) Subject: - add a comment that limit functionality should be implemented X-Git-Tag: upstream/0.6.1~2^2~156 X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=2c5d21ffb7ca5a922817b6eeef4381d386829fc9;p=pkg%2Fabook.git - add a comment that limit functionality should be implemented --- diff --git a/ui.c b/ui.c index 448132f..808ead0 100644 --- a/ui.c +++ b/ui.c @@ -243,6 +243,8 @@ ui_readline(char *prompt, char *s, size_t limit, bool use_completion) ret = abook_readline(bottom, y, x, s, use_completion); + /* XXX: check that string doesn't exceed limit */ + if(ret) strtrim(ret);