diff --git a/zathura/database-plain.c b/zathura/database-plain.c index 7af68c1..e5ae751 100644 --- a/zathura/database-plain.c +++ b/zathura/database-plain.c @@ -168,7 +168,7 @@ zathura_db_read_key_file_from_file(const char* path) g_key_file_free(key_file); return NULL; } - g_strlcat(content, dummy_content, dummy_len + 1); + strcpy(content, dummy_content); contentlen = dummy_len; }