[Goodies-commits] r4620 - xfce4-dict/trunk/lib

Enrico Troeger enrico at xfce.org
Fri Apr 18 18:07:00 CEST 2008


Author: enrico
Date: 2008-04-18 16:07:00 +0000 (Fri, 18 Apr 2008)
New Revision: 4620

Modified:
   xfce4-dict/trunk/lib/common.c
Log:
Disable conversion into ISO-8859-15 of search text when using dict.leo.org, seems not necessary anymore.


Modified: xfce4-dict/trunk/lib/common.c
===================================================================
--- xfce4-dict/trunk/lib/common.c	2008-04-18 16:06:57 UTC (rev 4619)
+++ xfce4-dict/trunk/lib/common.c	2008-04-18 16:07:00 UTC (rev 4620)
@@ -189,7 +189,7 @@
 		}
 		default: base = dd->web_url;
 	}
-
+#if 0 /* for some reason this isn't necessary anymore */
 	if (use_leo)
 	{
 		/* convert the text into ISO-8869-15 because dict.leo.org expects it ;-( */
@@ -201,6 +201,7 @@
 			dd->searched_word = tmp;
 		}
 	}
+#endif
 	uri = str_replace(g_strdup(base), "{word}", dd->searched_word);
 	if (! dict_open_browser(dd, uri))
 	{




More information about the Goodies-commits mailing list