summaryrefslogtreecommitdiff
path: root/ted-internal.h
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-10-17 10:18:25 -0400
committerpommicket <pommicket@gmail.com>2023-10-17 10:18:25 -0400
commit9842cb988343d255db17ed57d486ecc41fc0618e (patch)
treee228c5319c9b1f00f574c8ce505883411f3e4de6 /ted-internal.h
parent13c10a7002fd25efc22d3f07f25f9bf693f83e89 (diff)
switch from ted->strings to cfg->strings
Diffstat (limited to 'ted-internal.h')
-rw-r--r--ted-internal.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/ted-internal.h b/ted-internal.h
index 066c38c..6fa49ae 100644
--- a/ted-internal.h
+++ b/ted-internal.h
@@ -155,6 +155,7 @@ struct Settings {
typedef struct {
Language language;
char *path;
+ char **strings;
Settings settings;
bool settings_set[sizeof (Settings)];
} Config;
@@ -167,8 +168,6 @@ typedef struct EditNotifyInfo {
/// max tabs per node
#define TED_MAX_TABS 100
-/// max strings in all config files
-#define TED_MAX_STRINGS 1000
/// "find" menu result
typedef struct FindResult FindResult;
@@ -400,10 +399,6 @@ struct Ted {
/// `nodes[0]` is always the "root node", if any buffers are open.
Node **nodes;
TextBuffer **buffers;
- /// number of config file strings
- u32 nstrings;
- /// config file strings
- char *strings[TED_MAX_STRINGS];
char window_title[256];
/// little box used to display errors and info.