summaryrefslogtreecommitdiff
path: root/src/dlg-open-with.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-02-19 16:38:43 +0300
committermonsta <[email protected]>2016-02-19 16:38:43 +0300
commit9323e93fcdcf6a65de3ee04494b9db6b44dcacf5 (patch)
tree8b38848435ee02bdd2e5727f9c91213f7c413377 /src/dlg-open-with.c
parenta66b2c1dade963132671821e83571d47c368c917 (diff)
downloadengrampa-9323e93fcdcf6a65de3ee04494b9db6b44dcacf5.tar.bz2
engrampa-9323e93fcdcf6a65de3ee04494b9db6b44dcacf5.tar.xz
"open with" dialog: fix random crash
fixes https://github.com/mate-desktop/engrampa/issues/126
Diffstat (limited to 'src/dlg-open-with.c')
-rw-r--r--src/dlg-open-with.c2
1 files changed, 1 insertions, 1 deletions
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;
}