tools: Assorted spelling fixes

Frédéric Delanoy frederic.delanoy at gmail.com
Thu Jul 28 14:51:20 CDT 2011


---
 tools/sfnt2fnt.c        |    2 +-
 tools/winegcc/winegcc.c |    2 +-
 tools/wmc/utils.c       |    2 +-
 tools/wmc/write.c       |    2 +-
 tools/wrc/translation.c |    2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/tools/sfnt2fnt.c b/tools/sfnt2fnt.c
index f58c40b..d83d2be 100644
--- a/tools/sfnt2fnt.c
+++ b/tools/sfnt2fnt.c
@@ -579,7 +579,7 @@ static struct fontinfo *fill_fontinfo( const char *face_name, int ppem, int enc,
                 else
                     left_byte = face->glyph->bitmap.buffer[(y - (ascent - face->glyph->bitmap_top)) * face->glyph->bitmap.pitch + x - x_off - 1];
 
-                /* On the last non-trival output byte (x == x_end) have we got one or two input bytes */
+                /* On the last non-trivial output byte (x == x_end) have we got one or two input bytes */
                 if(x == x_end && (face->glyph->bitmap_left % 8 != 0) && ((face->glyph->bitmap.width % 8 == 0) || (x != (((face->glyph->bitmap.width) & ~0x7) + face->glyph->bitmap_left) / 8)))
                     right_byte = 0;
                 else
diff --git a/tools/winegcc/winegcc.c b/tools/winegcc/winegcc.c
index 9e75509..284223e 100644
--- a/tools/winegcc/winegcc.c
+++ b/tools/winegcc/winegcc.c
@@ -1252,7 +1252,7 @@ int main(int argc, char **argv)
     {
         if (argv[i][0] == '-')  /* option */
 	{
-	    /* determine if tihs switch is followed by a separate argument */
+	    /* determine if this switch is followed by a separate argument */
 	    next_is_arg = 0;
 	    option_arg = 0;
 	    switch(argv[i][1])
diff --git a/tools/wmc/utils.c b/tools/wmc/utils.c
index 6f26da3..276eeb4 100644
--- a/tools/wmc/utils.c
+++ b/tools/wmc/utils.c
@@ -219,7 +219,7 @@ int unistricmp(const WCHAR *s1, const WCHAR *s2)
 {
 	int i;
 	int once = 0;
-	static const char warn[] = "Don't know the uppercase equivalent of non acsii characters;"
+	static const char warn[] = "Don't know the uppercase equivalent of non ascii characters;"
 	       		     "comparison might yield wrong results";
 	while(*s1 && *s2)
 	{
diff --git a/tools/wmc/write.c b/tools/wmc/write.c
index 0fc38ad..cf170d4 100644
--- a/tools/wmc/write.c
+++ b/tools/wmc/write.c
@@ -231,7 +231,7 @@ void write_h_file(const char *fname)
 			if(!once)
 			{
 				/*
-				 * Search for an english text.
+				 * Search for an English text.
 				 * If not found, then use the first in the list
 				 */
 				once++;
diff --git a/tools/wrc/translation.c b/tools/wrc/translation.c
index 20e8346..6cfe07a 100644
--- a/tools/wrc/translation.c
+++ b/tools/wrc/translation.c
@@ -983,7 +983,7 @@ static resource_t *find_main(int type, name_id_t *id, resource_lang_node_t *lang
 
     if (neutral != NULL && (en != NULL || en_US != NULL))
     {
-        fprintf(stderr, "INFO: Resource %04x/%s has both NEUTRAL and MASTER language translarion\n",
+        fprintf(stderr, "INFO: Resource %04x/%s has both NEUTRAL and MASTER language translation\n",
             type, get_nameid_str(id));
     }
 
-- 
1.7.6




More information about the wine-patches mailing list