]> git.deb.at Git - pkg/abook.git/commitdiff
Changed incorrect variable name
authorJaakko Heinonen <jheinonen@users.sourceforge.net>
Tue, 12 Jun 2001 14:04:02 +0000 (14:04 +0000)
committerJaakko Heinonen <jheinonen@users.sourceforge.net>
Tue, 12 Jun 2001 14:04:02 +0000 (14:04 +0000)
edit.c

diff --git a/edit.c b/edit.c
index 643603245b7958cb0198ae44d3ced8e72e949778..d4f3ed756afb118162f996423b64106c8bd4fe4e 100644 (file)
--- a/edit.c
+++ b/edit.c
@@ -130,7 +130,7 @@ print_editor_header(int item)
        if( *database[item][EMAIL] )
                snprintf(header, EDITW_COLS, "%s <%s>",
                                database[item][NAME],
-                               database[item][EMAIL]);
+                               email);
        else
                snprintf(header, EDITW_COLS, "%s", database[item][NAME]);