Version v0.3.50 - Fixing browsing behavior

This commit is contained in:
2026-01-28 06:54:57 -04:00
parent d8e65b1799
commit dce0a74945
4 changed files with 7 additions and 7 deletions

View File

@@ -23,7 +23,7 @@
#include <ctype.h>
// Version - Updated automatically by build.sh
#define OTP_VERSION "v0.3.48"
#define OTP_VERSION "v0.3.49"
// Constants
#define MAX_INPUT_SIZE 4096

View File

@@ -394,8 +394,9 @@ int handle_decrypt_menu(void) {
// Empty input - launch file manager to browse for files
char selected_file[512];
if (launch_file_manager(get_files_directory(), selected_file, sizeof(selected_file)) != 0) {
printf("Error: Could not launch file manager\n");
return 1;
printf("File browsing cancelled or failed.\n");
printf("Returning to main menu...\n");
return 0;
}
// Generate smart default output filename with files directory and use enhanced input function