From 9323e93fcdcf6a65de3ee04494b9db6b44dcacf5 Mon Sep 17 00:00:00 2001 From: monsta Date: Fri, 19 Feb 2016 16:38:43 +0300 Subject: "open with" dialog: fix random crash fixes https://github.com/mate-desktop/engrampa/issues/126 --- src/dlg-open-with.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/dlg-open-with.c b/src/dlg-open-with.c index 9533cf7..3e90eb4 100644 --- a/src/dlg-open-with.c +++ b/src/dlg-open-with.c @@ -414,7 +414,7 @@ dlg_open_with (FrWindow *window, if (app_names != NULL) { GList *p; for (p = app_names; p && !found; p = p->next) - if (strcmp ((char*)p->data, g_app_info_get_executable (app)) == 0) + if (g_strcmp0 ((char*)p->data, g_app_info_get_executable (app)) == 0) found = TRUE; } -- cgit v1.2.1