aboutsummaryrefslogtreecommitdiff
path: root/src/config.def.c
diff options
context:
space:
mode:
authoriceyrazor <iceyrazor@mailfence.com>2026-10-09 02:39:26 -0500
committericeyrazor <iceyrazor@mailfence.com>2026-10-09 02:39:26 -0500
commit1df6a629cddbdcd9c622ef5c4eefdca8f04c3555 (patch)
tree69bc55e90721240a7a1e39f3d7e98048469c8b37 /src/config.def.c
parent91e00065b20fa81ead09f43b5afecfa2f1471d2a (diff)
removed arr_size in config. it is now automatically determined
Diffstat (limited to 'src/config.def.c')
-rw-r--r--src/config.def.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/config.def.c b/src/config.def.c
index 90004de..6de4b4e 100644
--- a/src/config.def.c
+++ b/src/config.def.c
@@ -1,15 +1,11 @@
#ifndef config
#define config
-#define arr_size 3 //change this to how many messages you want to cycle through
-
char *title="title"; //change the title here
-char *arr[arr_size];
-
-void init_arr(){
- arr[0]="message 1"; //copy and paste this then change the number to the message your editing
- arr[1]="message 2";
- arr[2]="message 3";
-}
+char *arr[] = {
+ "message 1",
+ "message 2",
+ "message 3",
+};
#endif