summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/caja-query-editor.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/caja-query-editor.c b/src/caja-query-editor.c
index 5bfbf7ae..bb0f6036 100644
--- a/src/caja-query-editor.c
+++ b/src/caja-query-editor.c
@@ -412,7 +412,9 @@ tags_row_add_to_query (CajaQueryEditorRow *row,
char **strv = g_strsplit (tags, " ", -1);
guint len = g_strv_length (strv);
- for (int i=0; i<len; ++i) {
+ int i;
+
+ for (i = 0; i < len; ++i) {
strv[i] = g_strstrip (strv[i]);
if (strlen (strv[i]) > 0) {
caja_query_add_tag (query, strv[i]);