From 68b77c7a1cde7344702cf1d162e0124498a6b616 Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Sat, 23 Jan 2021 13:48:07 -0500 Subject: got rid of dyn string array - that was unnecessarily complicated --- ted.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ted.h') 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; -- cgit v1.2.3