From 2c5d21ffb7ca5a922817b6eeef4381d386829fc9 Mon Sep 17 00:00:00 2001 From: Jaakko Heinonen Date: Sun, 25 Sep 2005 11:08:18 +0000 Subject: [PATCH] - add a comment that limit functionality should be implemented --- ui.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.39.2