summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-rw-r--r--extra/locale/gen_wc8bit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/locale/gen_wc8bit.c b/extra/locale/gen_wc8bit.c
index 429421616..7cefb53be 100644
--- a/extra/locale/gen_wc8bit.c
+++ b/extra/locale/gen_wc8bit.c
@@ -189,7 +189,7 @@ int main(int argc, char **argv)
} else {
++s0;
}
- s1 = strchr(s0, '.');
+ s1 = strrchr(s0, '.');
if (!s1) {
n = strlen(s0);
} else {