diff --git a/otp.c b/otp.c index 9e70a7f..9ec9598 100644 --- a/otp.c +++ b/otp.c @@ -3198,7 +3198,7 @@ void get_directory_display(const char* file_path, char* result, size_t result_si } // Current working directory - if (strcmp(dir_path, ".") == 0 || strcmp(dir_path, PADS_DIR) == 0) { + if (strcmp(dir_path, ".") == 0 || strcmp(dir_path, current_pads_dir) == 0) { strncpy(result, "pads", result_size - 1); result[result_size - 1] = '\0'; return;