]> git.deb.at Git - pkg/abook.git/commitdiff
Minor cleanups
authorJaakko Heinonen <jheinonen@users.sourceforge.net>
Wed, 11 Jul 2001 14:43:09 +0000 (14:43 +0000)
committerJaakko Heinonen <jheinonen@users.sourceforge.net>
Wed, 11 Jul 2001 14:43:09 +0000 (14:43 +0000)
ChangeLog
configure
configure.in
ui.c

index ecc103200b93c261260cf70b685c5b3e6fdd2e39..0bdd7c35a8b03a2a67e8172413a5a1776999efd9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,10 +1,13 @@
+0.4.14
+ - minor html filter update
+
 0.4.13
  - major code reorganization (phase 1)
  - fixed help viewer functions
  - ability to disable use of non-ascii characters (configuration option)
  - changed SIGINT behaviour
  - html export filter creates now valid html documents
- - ablity to print/export only selected items
+ - ability to print/export only selected items
  - new editor commands
  - text filter update
  - query/find code cleanup
index 2facc7b410ae8cdfee284fcb629aa28c7804322d..9e4b50cf87b303154877b031a8f216983f5abbec 100755 (executable)
--- a/configure
+++ b/configure
@@ -695,7 +695,7 @@ fi
 
 PACKAGE=abook
 
-VERSION=0.4.13
+VERSION=0.4.14-cvs
 
 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
   { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
index f85da8daa196126e2ad8a40ecf1ec0ae1fca0cf5..7995fe40734622e107e0eaf9ba57cb46e79e47fd 100644 (file)
@@ -1,7 +1,7 @@
 dnl abook configure.in
 
 AC_INIT(abook.c)
-AM_INIT_AUTOMAKE(abook, 0.4.13)
+AM_INIT_AUTOMAKE(abook, 0.4.14-cvs)
 AM_CONFIG_HEADER(config.h)
 
 AC_CANONICAL_HOST
diff --git a/ui.c b/ui.c
index 9a19df7d9bc036261efa032d857adbe430346272..22c83621ba9b9dccf8b4b5671051e7a7d149c99c 100644 (file)
--- a/ui.c
+++ b/ui.c
@@ -345,12 +345,10 @@ clear_statusline()
        refresh();
 }
 
-
 /*
- * help - need to rewrite
+ * help
  */
 
-
 #include "help.h"
 
 void
@@ -390,7 +388,6 @@ display_help(int help)
        delwin(helpw);
 }
 
-
 /*
  * end of help
  */
@@ -514,7 +511,7 @@ void
 ui_find(int next)
 {
        int item;
-       static char findstr[81];
+       static char findstr[MAX_FIELD_LEN];
        int search_fields[] = {NAME, EMAIL, NICK, -1};
 
        if(next) {
@@ -523,11 +520,11 @@ ui_find(int next)
        } else {
                clear_statusline();
                statusline_addstr("/");
-               statusline_getnstr(findstr, 67, 0);
+               statusline_getnstr(findstr, MAX_FIELD_LEN - 1, 0);
                clear_statusline();
        }
 
-       if( (item = find_item(findstr, next ? curitem+1 : curitem,
+       if( (item = find_item(findstr, curitem + !!next,
                                        search_fields )) >= 0 ) {
                curitem = item;
                refresh_list();