aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--lib/widgets/ephy-location-entry.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 520b29393..82f3cba4c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-06-05 Wouter Bolsterlee <uws+gnome@xs4all.nl>
+
+ * lib/widgets/ephy-location-entry.c: (keyword_match):
+ Improve next-token logic for bookmark completion. Fixes
+ #339167 (hopefully for real this time).
+
2006-06-04 Christian Persch <chpe@cvs.gnome.org>
* embed/mozilla/EphySidebar.cpp:
diff --git a/lib/widgets/ephy-location-entry.c b/lib/widgets/ephy-location-entry.c
index a0dfa2921..7fb12c928 100644
--- a/lib/widgets/ephy-location-entry.c
+++ b/lib/widgets/ephy-location-entry.c
@@ -429,8 +429,8 @@ keyword_match (const char *list,
next_token:
- while (*p && !g_ascii_ispunct(*p)) p++;
- if (*p) p++;
+ while (*p && !g_ascii_ispunct(*p) && !g_ascii_isspace(*p)) p++;
+ while (*p && (g_ascii_ispunct(*p) || g_ascii_isspace(*p))) p++;
}
return FALSE;