aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widgets/misc/e-unicode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/misc/e-unicode.c b/widgets/misc/e-unicode.c
index a39e517f71..1a3f606732 100644
--- a/widgets/misc/e-unicode.c
+++ b/widgets/misc/e-unicode.c
@@ -104,7 +104,7 @@ e_utf8_strstrcasedecomp (const gchar *haystack, const gchar *needle)
npos++;
}
if (npos == nlen) {
- return p;
+ return o;
}
}
}
@@ -152,7 +152,7 @@ e_utf8_strstrcase (const gchar *haystack, const gchar *needle)
npos++;
}
if (npos == nlen) {
- return p;
+ return o;
}
}
o = p;