[evolution] I#740 - 'open-map:' URI passed to browser



commit 15e57f9937cd4fc3964e078e896f7412e16b7bdc
Author: Milan Crha <mcrha redhat com>
Date:   Tue Jan 7 14:31:35 2020 +0100

    I#740 - 'open-map:' URI passed to browser
    
    Closes https://gitlab.gnome.org/GNOME/evolution/issues/740

 src/addressbook/gui/widgets/eab-contact-display.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/addressbook/gui/widgets/eab-contact-display.c 
b/src/addressbook/gui/widgets/eab-contact-display.c
index b9eae723e2..db5eb1ea40 100644
--- a/src/addressbook/gui/widgets/eab-contact-display.c
+++ b/src/addressbook/gui/widgets/eab-contact-display.c
@@ -368,7 +368,7 @@ contact_display_link_clicked (EWebView *web_view,
        }
 
        length = strlen ("open-map:");
-       if (g_ascii_strncasecmp (uri, "open-map:", length)) {
+       if (g_ascii_strncasecmp (uri, "open-map:", length) == 0) {
                SoupURI *suri;
 
                suri = soup_uri_new (uri);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]