summaryrefslogtreecommitdiff
path: root/ted.h
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-01-27 16:51:27 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-01-27 16:51:27 -0500
commitf02fa3b6e1f6c3b1c1325b999f101b5ca6e02558 (patch)
tree19372b99cef17f6312454688d5e115c10aff3ac9 /ted.h
parent710ea4ef8ca812aa4f0334f93c25fd9995a8e364 (diff)
started warn on overwrite
Diffstat (limited to 'ted.h')
-rw-r--r--ted.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ted.h b/ted.h
index 18892ec..515a195 100644
--- a/ted.h
+++ b/ted.h
@@ -122,6 +122,7 @@ typedef struct Ted {
double error_time; // time error box was opened (in seconds -- see time_get_seconds)
KeyAction key_actions[KEY_COMBO_COUNT];
bool search_cwd; // should the working directory be searched for files? set to true if the executable isn't "installed"
+ char warn_overwrite[TED_PATH_MAX]; // file name user is trying to overwrite
char local_data_dir[TED_PATH_MAX];
char global_data_dir[TED_PATH_MAX];
char home[TED_PATH_MAX];