]> git.deb.at Git - pkg/abook.git/commitdiff
fixed a bug in mutt import filter
authorJaakko Heinonen <jheinonen@users.sourceforge.net>
Fri, 23 Jan 2004 07:14:32 +0000 (07:14 +0000)
committerJaakko Heinonen <jheinonen@users.sourceforge.net>
Fri, 23 Jan 2004 07:14:32 +0000 (07:14 +0000)
ChangeLog
TODO
filter.c

index 7538096262c24009c1d429ee5a7acfe1e047af9d..af40f12191363feefcb0d9339c4cf526dbffa66e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 0.5.2
  - five custom fields added
+ - experimental wide character support
+ - fixed a crash bug in mutt filter
 
 0.5.1
  - sort by field command
diff --git a/TODO b/TODO
index 7a75905cce8d3814b84538e4201bcb397285aaab..5caa798e24eed8604d2d1c9b35b361b53b46ff50 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,4 +1,3 @@
 
  - new file format (xml?)
  - custom views, keybindings
- - utf-8 support
index 5fdec626f45954e0d364e085c1a9337db0641feb..9f57ee95af5078317ef4e5254b4abdd608124037 100644 (file)
--- a/filter.c
+++ b/filter.c
@@ -646,7 +646,7 @@ mutt_read_line(FILE *in, char **alias, char **rest)
        }
 
        strncpy(*alias, tmp, ptr - tmp - 1);
-       *(*alias + (ptr - tmp)) = 0;
+       *(*alias + (ptr - tmp - 1)) = 0;
 
        while(ISSPACE(*ptr))
                ptr++;