Hi Bram,
2016/8/4 Thu 5:10:37 UTC+9 Bram Moolenaar wrote:
> Patch 7.4.2152
> Problem: No proper translation of messages with a count.
> Solution: Use ngettext(). (Sergey Alyoshin)
> Files: src/evalfunc.c, src/fold.c, src/os_win32.c, src/screen.c,
> src/vim.h
Waning occurs after this patch.
Please check the attached patch.
Regards,
Ken Takata
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.
# HG changeset patch
# Parent 3f7bbccd60241ccb4edcf4586d9e822c5da165d3
diff --git a/src/os_win32.c b/src/os_win32.c
--- a/src/os_win32.c
+++ b/src/os_win32.c
@@ -548,7 +548,7 @@ null_libintl_ngettext(
const char *msgid_plural,
unsigned long n)
{
- return n == 1 ? msgid : msgid_plural;
+ return n == 1 ? (char*)msgid : (char*)msgid_plural;
}
/*ARGSUSED*/