]> git.deb.at Git - pkg/abook.git/blobdiff - ui.c
- add a comment that limit functionality should be implemented
[pkg/abook.git] / ui.c
diff --git a/ui.c b/ui.c
index 874812d48430bb64a9a9fb99dee73710dc75791e..808ead07e15dcdc211fe35964d611222de018ab9 100644 (file)
--- 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);
 
@@ -593,7 +595,7 @@ ui_open_datafile()
        load_database(filename);
 
        if(items == 0) {
-               statusline_msg(_("Sorry, that specified file appears not to be a valid abook addressbook"));
+               statusline_msg(_("Sorry, the specified file appears not to be a valid abook addressbook"));
                load_database(datafile);
        } else {
                free(datafile);