summaryrefslogtreecommitdiff
path: root/ted.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-10-17 09:53:23 -0400
committerpommicket <pommicket@gmail.com>2023-10-17 09:53:23 -0400
commit00fd503614571387750faac33069d1f2e500d59c (patch)
treeb075628318b11090e3189e3455e61e8cd7c3c884 /ted.c
parentfb4122bc9dd0bef071908371c6d4cf19b7efa8f1 (diff)
ted starts up, but still broken
Diffstat (limited to 'ted.c')
-rw-r--r--ted.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ted.c b/ted.c
index bf48559..8262d4f 100644
--- a/ted.c
+++ b/ted.c
@@ -245,6 +245,7 @@ Settings *ted_default_settings(Ted *ted) {
if (!streq(ted->default_settings_cwd, ted->cwd)) {
// recompute default settings
ted_compute_settings(ted, ted->cwd, LANG_NONE, &ted->default_settings);
+ strbuf_cpy(ted->default_settings_cwd, ted->cwd);
}
return &ted->default_settings;
}