From: Bram Moolenaar <Bram@vim.org>
Date: Wed, 12 Nov 2014 12:07:53 +0000 (+0100)
Subject: updated for version 7.4.508
X-Git-Tag: v7.4.508
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=983c4e93dc560b00c5c7b752a3a7c1c452359c38;p=vim

updated for version 7.4.508
Problem:    When generating ja.sjis.po the header is not correctly adjusted.
Solution:   Check for the right header string. (Ken Takata)
---

diff --git a/src/po/sjiscorr.c b/src/po/sjiscorr.c
index fec4740c0..b8f7e632a 100644
--- a/src/po/sjiscorr.c
+++ b/src/po/sjiscorr.c
@@ -23,9 +23,8 @@ main(argc, argv)
 				fputs("charset=cp932", stdout);
 				p += 12;
 			}
-			else if (strncmp(p, "ja.po - Japanese message file", 29) == 0)
+			else if (strncmp(p, "# Original translations", 23) == 0)
 			{
-				fputs("ja.sjis.po - Japanese message file for Vim (version 6.x)\n", stdout);
 				fputs("# generated from ja.po, DO NOT EDIT", stdout);
 				while (p[1] != '\n')
 					++p;
diff --git a/src/version.c b/src/version.c
index 329bcd2aa..76ab14690 100644
--- a/src/version.c
+++ b/src/version.c
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    508,
 /**/
     507,
 /**/