summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/main.c b/main.c
index 176f972..8248ac3 100644
--- a/main.c
+++ b/main.c
@@ -179,6 +179,11 @@ int main(int argc, char **argv) {
}
#endif
}
+ #if TED_FORCE_SEARCH_CWD
+ // override whether or not we are in the executable's directory
+ // (for testing on Unix systems without /proc)
+ ted->search_cwd = true;
+ #endif
Settings *settings = &ted->settings;