[evolution/gnome-3-34] I#740 - 'open-map:' URI passed to browser



commit 5b51682352db56511febc3c1e9098769b0738b88
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 5389924d34..bae2e738a4 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]