summaryrefslogtreecommitdiff
path: root/ted-internal.h
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-10-17 12:03:03 -0400
committerpommicket <pommicket@gmail.com>2023-10-17 12:03:03 -0400
commit7141f05bdc5df4270b0dd68704049eb70bdcc05b (patch)
tree3afa46b86e43104de203f9eb84a922a499cfd238 /ted-internal.h
parent6ea5c07b116b98ebc836a10f88cf908d14c9b6c5 (diff)
fix string arguments, nicer config parsing
Diffstat (limited to 'ted-internal.h')
-rw-r--r--ted-internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ted-internal.h b/ted-internal.h
index 4c36fef..59fca78 100644
--- a/ted-internal.h
+++ b/ted-internal.h
@@ -39,6 +39,7 @@
#define TED_VERSION_FULL "ted v. " TED_VERSION
typedef struct {
+ // if `string == NULL`, this is an integer argument
const char *string;
i64 number;
} CommandArgument;
@@ -155,7 +156,6 @@ struct Settings {
typedef struct {
Language language;
char *path;
- char **strings;
Settings settings;
bool settings_set[sizeof (Settings)];
} Config;