aboutsummaryrefslogtreecommitdiff
path: root/dpi/bookmarks.c
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2011-11-11 04:26:41 +0000
committercorvid <corvid@lavabit.com>2011-11-11 04:26:41 +0000
commit980fe05f47b9d6dd8626b5ea021e2c16807ff5ca (patch)
tree2e5670d74d8fcfb8e7f6b84ffaf5f77b74855746 /dpi/bookmarks.c
parent119aa95ed6bc612dd4ef7a3121d9bf220148aaa4 (diff)
locale-independent ASCII character case handling
Basically, I and i are different letters in Turkic languages, and this causes problems for str(n)casecmp and toupper/tolower in these locales when dillo is dealing with ASCII.
Diffstat (limited to 'dpi/bookmarks.c')
-rw-r--r--dpi/bookmarks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dpi/bookmarks.c b/dpi/bookmarks.c
index 6e9cb3df..6932d2f0 100644
--- a/dpi/bookmarks.c
+++ b/dpi/bookmarks.c
@@ -442,7 +442,7 @@ static void Unencode_str(char *e_str)
if (*e == '+') {
*p = ' ';
} else if (*e == '%') {
- if (dStrncasecmp(e, "%0D%0A", 6) == 0) {
+ if (dStrnAsciiCasecmp(e, "%0D%0A", 6) == 0) {
*p = '\n';
e += 5;
} else {