From 629d03b079b29f6d5178c407537aa15f9d109ec8 Mon Sep 17 00:00:00 2001 From: Clecio Jung Date: Thu, 23 Mar 2023 17:10:31 -0300 Subject: Sorting sections and properties --- examples/ini_file_create.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/ini_file_create.c') diff --git a/examples/ini_file_create.c b/examples/ini_file_create.c index e1cfd21..2aeb5a6 100644 --- a/examples/ini_file_create.c +++ b/examples/ini_file_create.c @@ -31,9 +31,9 @@ */ int main(void) { - char filename[MAX_STRING_SIZE], key[MAX_STRING_SIZE], value[MAX_STRING_SIZE]; - /* The first section is global to the file */ - char section[MAX_STRING_SIZE] = "global"; + char filename[MAX_STRING_SIZE]; + char section[MAX_STRING_SIZE]; + char key[MAX_STRING_SIZE], value[MAX_STRING_SIZE]; struct Ini_File *ini_file = ini_file_new(); /* Instruction on how to use this application */ printf("Following, type the requested fields of keys, values and section names.\n"); -- cgit v1.2.3