Author: fireball
Date: Wed Nov 5 16:31:34 2008
New Revision: 37207
URL:
http://svn.reactos.org/svn/reactos?rev=37207&view=rev
Log:
- Update wmc to Wine-20081105 (mostly typo fixes).
Modified:
trunk/reactos/media/doc/README.WINE
trunk/reactos/tools/wmc/lang.c
trunk/reactos/tools/wmc/mcl.c
trunk/reactos/tools/wmc/write.c
Modified: trunk/reactos/media/doc/README.WINE
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/doc/README.WINE?rev=…
==============================================================================
--- trunk/reactos/media/doc/README.WINE [iso-8859-1] (original)
+++ trunk/reactos/media/doc/README.WINE [iso-8859-1] Wed Nov 5 16:31:34 2008
@@ -24,7 +24,7 @@
reactos/tools/unicode # Synced to Wine-20081105 (~Wine-1.1.7)
reactos/tools/wpp # Synced to Wine-20081105 (~Wine-1.1.7)
reactos/tools/winebuild # Synced to Wine-20081105 (~Wine-1.1.7)
-reactos/tools/wmc # Synced to Wine-20071201
+reactos/tools/wmc # Synced to Wine-20081105 (~Wine-1.1.7)
reactos/tools/wrc # Synced to Wine-0_9_53
reactos/tools/widl # Synced to Wine-0_9_59
Modified: trunk/reactos/tools/wmc/lang.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/wmc/lang.c?rev=37207…
==============================================================================
--- trunk/reactos/tools/wmc/lang.c [iso-8859-1] (original)
+++ trunk/reactos/tools/wmc/lang.c [iso-8859-1] Wed Nov 5 16:31:34 2008
@@ -50,7 +50,7 @@
{0x0011, 932, 932, "Japanese", NULL},
{0x0012, 949, 949, "Korean", NULL},
{0x0013, 850, 1252, "Dutch", NULL},
- {0x0014, 850, 1252, "Norwegian (Bokmål)", NULL},
+ {0x0014, 850, 1252, "Norwegian (Bokmål)", NULL},
{0x0015, 852, 1250, "Polish", NULL},
{0x0016, 850, 1252, "Portuguese", NULL},
{0x0018, 852, 1250, "Romanian", NULL},
@@ -90,7 +90,7 @@
{0x0411, 932, 932, "Japanese", "Japan"},
{0x0412, 949, 949, "Korean", "Korea (south)"},
{0x0413, 850, 1252, "Dutch", "Netherlands"},
- {0x0414, 850, 1252, "Norwegian (Bokmål)", "Norway"},
+ {0x0414, 850, 1252, "Norwegian (Bokmål)", "Norway"},
{0x0415, 852, 1250, "Polish", "Poland"},
{0x0416, 850, 1252, "Portuguese", "Brazil"},
{0x0418, 852, 1250, "Romanian", "Romania"},
Modified: trunk/reactos/tools/wmc/mcl.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/wmc/mcl.c?rev=37207&…
==============================================================================
--- trunk/reactos/tools/wmc/mcl.c [iso-8859-1] (original)
+++ trunk/reactos/tools/wmc/mcl.c [iso-8859-1] Wed Nov 5 16:31:34 2008
@@ -33,7 +33,7 @@
#include "mcy.tab.h"
/*
- * Keywords are case insenitive. All normal input is treated as
+ * Keywords are case insensitive. All normal input is treated as
* being in codepage iso-8859-1 for ascii input files (unicode
* page 0) and as equivalent unicode if unicode input is selected.
* All normal input, which is not part of a message text, is
@@ -205,7 +205,7 @@
if(n < 0)
internal_error(__FILE__, __LINE__, "Could not translate to unicode (%d)\n",
n);
if(n <= 1)
- goto try_again; /* Should not hapen */
+ goto try_again; /* Should not happen */
n--; /* Strip added conversion '\0' from input length */
/*
* FIXME:
Modified: trunk/reactos/tools/wmc/write.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/wmc/write.c?rev=3720…
==============================================================================
--- trunk/reactos/tools/wmc/write.c [iso-8859-1] (original)
+++ trunk/reactos/tools/wmc/write.c [iso-8859-1] Wed Nov 5 16:31:34 2008
@@ -243,7 +243,7 @@
cptr = dup_u2c(ndp->u.msg->msgs[idx_en]->cp,
ndp->u.msg->msgs[idx_en]->msg);
killnl(cptr, 0);
killcomment(cptr);
- fprintf(fp, "/* Approx. msg: %s */\n", cptr);
+ fprintf(fp, "/* Approximate msg: %s */\n", cptr);
free(cptr);
cptr = dup_u2c(WMC_DEFAULT_CODEPAGE, ndp->u.msg->sym);
if(ndp->u.msg->cast)
@@ -274,8 +274,7 @@
internal_error(__FILE__, __LINE__, "Invalid base for number print\n");
}
free(cptr);
- if(cast)
- free(cast);
+ free(cast);
break;
default:
internal_error(__FILE__, __LINE__, "Invalid node type %d\n", ndp->type);