summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ephy-history.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ephy-history.c b/ephy-history.c
index f0aad06..a51e689 100644
--- a/ephy-history.c
+++ b/ephy-history.c
@@ -220,10 +220,10 @@ custom_function_markup (sqlite3_context *context,
}
string = g_string_new ("");
- current = end = 0;
for (i = 1; i < argc; i++)
{
const char *argument = (const char *) sqlite3_value_text (argv[1]);
+ current = end = 0;
if (i > 1)
g_string_append_c (string, '\n');
if (!g_regex_match (regex,