Commit c9772953 authored by Paolo Borelli's avatar Paolo Borelli

W32: fix uninitialized var in g_app_info_get_all_for_type

Compare with the handler->app, not with the app var which is not
initialized yet
parent 61136c2c
......@@ -4634,7 +4634,7 @@ g_app_info_get_all_for_type (const char *content_type)
while (g_hash_table_iter_next (&iter, NULL, (gpointer *) &handler))
if (handler->app &&
(ext->chosen_handler == NULL || ext->chosen_handler->app != app))
(ext->chosen_handler == NULL || ext->chosen_handler->app != handler->app))
result = g_list_prepend (result,
g_win32_app_info_new_from_app (handler->app,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment