aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorache <ache@ache.one>2019-02-07 08:25:26 +0100
committerache <ache@ache.one>2019-02-07 08:25:26 +0100
commit6527ee08d464af2633979c1ff205582b6ba2b8f5 (patch)
tree9416d98e825b07e52f01765fde9a1e0fd97a911b
parentWrite contact list fix (diff)
The real UTF-8 problem is the code
-rw-r--r--contactList.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contactList.c b/contactList.c
index d9935f0..9c6640c 100644
--- a/contactList.c
+++ b/contactList.c
@@ -117,7 +117,7 @@ int fillContactList(const char* filename) {
nameLength = 0;
break;
case 2:
- contactList[i].name[display_nameLength] = 0;
+ contactList[i].display_name[display_nameLength] = 0;
display_nameLength = 0;
break;
default: