[Xfce4-commits] [apps/xfce4-dict] 01/04: Avoid segfaults (Bug #14786)

noreply at xfce.org noreply at xfce.org
Mon Nov 19 01:05:38 CET 2018


This is an automated email from the git hooks/post-receive script.

a   n   d   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfce4-dict.

commit a69a9f3e281a04f183f7cf176d6af0ac4dbe32f4
Author: Andre Miranda <andreldm at xfce.org>
Date:   Sun Nov 18 21:03:47 2018 -0300

    Avoid segfaults (Bug #14786)
---
 lib/prefs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/prefs.c b/lib/prefs.c
index 830f632..91485f3 100644
--- a/lib/prefs.c
+++ b/lib/prefs.c
@@ -195,7 +195,7 @@ const gchar *dict_prefs_get_web_url_label(DictData *dd)
 
 	for (i = 0; web_dicts[i].label != NULL; i++)
 	{
-		if (strcmp(web_dicts[i].url, dd->web_url) == 0)
+		if (g_strcmp0(web_dicts[i].url, dd->web_url) == 0)
 			return web_dicts[i].label;
 	}
 	return dd->web_url;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list