Bugfix: Fixes #547, iexplore - iexplore.sh no longer launches Internet Explorer

This commit is contained in:
Rory Fewell
2025-11-08 23:00:40 +00:00
parent 4148867405
commit 1a2f8d5b1e
2 changed files with 12 additions and 2 deletions

View File

@@ -354,6 +354,15 @@ void wintc_shext_path_info_demangle_uri(
path_info->extended_path =
wintc_substr(p_ext_delim + 2, NULL);
}
//
// STEP 3: If we still have no path up to this point, just put the whole
// thing in base_path and pass it through as-is
//
if (!path_info->base_path)
{
path_info->base_path = g_strdup(uri);
}
}
gchar* wintc_shext_path_info_get_as_single_path(

View File

@@ -608,10 +608,11 @@ static void wintc_explorer_window_set_property(
uri
);
wnd->initial_path = path_info.base_path;
path_info.base_path = NULL;
wnd->initial_path =
g_steal_pointer(&(path_info.base_path));
wintc_shext_path_info_free_data(&path_info);
break;
}