tools: Assorted spelling fixes.

This commit is contained in:
Frédéric Delanoy 2011-07-28 21:51:20 +02:00 committed by Alexandre Julliard
parent 5d5f267e09
commit 701aabb141
5 changed files with 5 additions and 5 deletions

View File

@ -579,7 +579,7 @@ static struct fontinfo *fill_fontinfo( const char *face_name, int ppem, int enc,
else else
left_byte = face->glyph->bitmap.buffer[(y - (ascent - face->glyph->bitmap_top)) * face->glyph->bitmap.pitch + x - x_off - 1]; 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))) 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; right_byte = 0;
else else

View File

@ -1252,7 +1252,7 @@ int main(int argc, char **argv)
{ {
if (argv[i][0] == '-') /* option */ 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; next_is_arg = 0;
option_arg = 0; option_arg = 0;
switch(argv[i][1]) switch(argv[i][1])

View File

@ -219,7 +219,7 @@ int unistricmp(const WCHAR *s1, const WCHAR *s2)
{ {
int i; int i;
int once = 0; 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"; "comparison might yield wrong results";
while(*s1 && *s2) while(*s1 && *s2)
{ {

View File

@ -231,7 +231,7 @@ void write_h_file(const char *fname)
if(!once) if(!once)
{ {
/* /*
* Search for an english text. * Search for an English text.
* If not found, then use the first in the list * If not found, then use the first in the list
*/ */
once++; once++;

View File

@ -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)) 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)); type, get_nameid_str(id));
} }