[Goodies-commits] r5870 - in xfce4-dict/trunk: . lib
Enrico Troeger
enrico at xfce.org
Wed Oct 29 23:39:39 CET 2008
Author: enrico
Date: 2008-10-29 22:39:39 +0000 (Wed, 29 Oct 2008)
New Revision: 5870
Modified:
xfce4-dict/trunk/ChangeLog
xfce4-dict/trunk/lib/dictd.c
Log:
When highlighting cross-references, ignore also {vt} and {pl}.
Modified: xfce4-dict/trunk/ChangeLog
===================================================================
--- xfce4-dict/trunk/ChangeLog 2008-10-29 22:39:36 UTC (rev 5869)
+++ xfce4-dict/trunk/ChangeLog 2008-10-29 22:39:39 UTC (rev 5870)
@@ -4,6 +4,7 @@
even if an empty or invalid spell check command was given.
* Add a combo box around the search field in the main window
to provide a history of previously searched words.
+ * When highlighting cross-references, ignore also {vt} and {pl}.
2008-10-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
Modified: xfce4-dict/trunk/lib/dictd.c
===================================================================
--- xfce4-dict/trunk/lib/dictd.c 2008-10-29 22:39:36 UTC (rev 5869)
+++ xfce4-dict/trunk/lib/dictd.c 2008-10-29 22:39:39 UTC (rev 5870)
@@ -186,7 +186,9 @@
/* ignore {n}, {f}, {m} (surrounding braces are already stripped in 'str') */
if (strcmp("f", str) == 0 ||
strcmp("m", str) == 0 ||
- strcmp("n", str) == 0)
+ strcmp("n", str) == 0 ||
+ strcmp("vt", str) == 0 ||
+ strcmp("pl", str) == 0)
{
return TRUE;
}
More information about the Goodies-commits
mailing list