summaryrefslogtreecommitdiff
path: root/ted.h
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-01-23 13:48:07 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-01-23 13:48:07 -0500
commit68b77c7a1cde7344702cf1d162e0124498a6b616 (patch)
tree8e0fbc0e6dddaac12c2c37b59d54b12892439ad5 /ted.h
parent7448aa490fb843089e5785d5a80f8a07ee50f93a (diff)
got rid of dyn string array - that was unnecessarily complicated
Diffstat (limited to 'ted.h')
-rw-r--r--ted.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ted.h b/ted.h
index fedd317..d33c460 100644
--- a/ted.h
+++ b/ted.h
@@ -87,7 +87,7 @@ typedef struct {
Rect bounds;
u32 n_entries;
FileEntry *entries;
- char *cwd; // a dynamic null-terminated array of chars representing the current directory
+ char cwd[TED_PATH_MAX];
bool submitted; // set to true if the line buffer was just submitted this frame.
} FileSelector;