diff nuklear_ui/blastem_nuklear.c @ 2681:c4256ce2c45a

Updated Android port using gradle toolchain and with basic Storage Access Framework support for Android 11+ support
author Michael Pavone <pavone@retrodev.com>
date Wed, 26 Mar 2025 01:20:55 -0700
parents 844ca8377b45
children 143cb5762ec9
line wrap: on
line diff
--- a/nuklear_ui/blastem_nuklear.c	Wed Mar 26 01:20:09 2025 -0700
+++ b/nuklear_ui/blastem_nuklear.c	Wed Mar 26 01:20:55 2025 -0700
@@ -257,7 +257,9 @@
 	static size_t num_entries;
 	static int32_t selected_entry = -1;
 	if (!browser_cur_path) {
-		get_initial_browse_path(&browser_cur_path);
+		if (!get_initial_browse_path(&browser_cur_path)) {
+			return;
+		}
 	}
 	if (use_native_filechooser && native_filechooser_available()) {
 		char *path = native_filechooser_pick(browser_label, browser_cur_path);