Empty path macros cause double slashes lol

This commit is contained in:
Willy-JL
2023-07-03 23:53:26 +02:00
parent 3c992d4582
commit ba76722158
3 changed files with 3 additions and 3 deletions

View File

@@ -194,7 +194,7 @@ int32_t hex_editor_app(void* p) {
if(p && strlen(p)) {
furi_string_set(file_path, (const char*)p);
} else {
furi_string_set(file_path, EXT_PATH(""));
furi_string_set(file_path, STORAGE_EXT_PATH_PREFIX);
DialogsFileBrowserOptions browser_options;
dialog_file_browser_set_basic_options(&browser_options, "*", &I_edit_10px);

View File

@@ -13,7 +13,7 @@
#define TAG "HexViewer"
#define HEX_VIEWER_APP_PATH_FOLDER EXT_PATH("")
#define HEX_VIEWER_APP_PATH_FOLDER STORAGE_EXT_PATH_PREFIX
#define HEX_VIEWER_APP_EXTENSION "*"
#define HEX_VIEWER_BYTES_PER_LINE 4u

View File

@@ -13,7 +13,7 @@
#define TAG "TextViewer"
#define TEXT_VIEWER_APP_PATH_FOLDER EXT_PATH("")
#define TEXT_VIEWER_APP_PATH_FOLDER STORAGE_EXT_PATH_PREFIX
#define TEXT_VIEWER_APP_EXTENSION "*"
#define TEXT_VIEWER_BYTES_PER_LINE 20u