diff options
author | monsta <[email protected]> | 2016-02-19 16:38:43 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-02-19 16:38:43 +0300 |
commit | 9323e93fcdcf6a65de3ee04494b9db6b44dcacf5 (patch) | |
tree | 8b38848435ee02bdd2e5727f9c91213f7c413377 | |
parent | a66b2c1dade963132671821e83571d47c368c917 (diff) | |
download | engrampa-9323e93fcdcf6a65de3ee04494b9db6b44dcacf5.tar.bz2 engrampa-9323e93fcdcf6a65de3ee04494b9db6b44dcacf5.tar.xz |
"open with" dialog: fix random crash
fixes https://github.com/mate-desktop/engrampa/issues/126
-rw-r--r-- | src/dlg-open-with.c | 2 |
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; } |