Commit 3fc99bbd authored by Ivan Frade's avatar Ivan Frade

litracker-extract: Count last word when normalizing

parent 931c10f2
......@@ -222,6 +222,10 @@ tracker_text_normalize (const gchar *text,
}
if (n_words) {
if (!in_break) {
/* Count the last word */
words += 1;
}
*n_words = words;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment