Assorted spelling fixes.

This commit is contained in:
Francois Gouget 2012-07-03 09:13:55 +02:00 committed by Alexandre Julliard
parent 1625dae7e3
commit 6333fa753a
6 changed files with 9 additions and 9 deletions

View File

@ -605,7 +605,7 @@ HRESULT _build_action_map(LPDIRECTINPUTDEVICE8W iface, LPDIACTIONFORMATW lpdiaf,
for (i=0; i < lpdiaf->dwNumActions; i++) for (i=0; i < lpdiaf->dwNumActions; i++)
{ {
/* Don't touch an user configured action */ /* Don't touch a user configured action */
if (lpdiaf->rgoAction[i].dwHow == DIAH_USERCONFIG) continue; if (lpdiaf->rgoAction[i].dwHow == DIAH_USERCONFIG) continue;
if ((lpdiaf->rgoAction[i].dwSemantic & devMask) == devMask) if ((lpdiaf->rgoAction[i].dwSemantic & devMask) == devMask)
@ -619,7 +619,7 @@ HRESULT _build_action_map(LPDIRECTINPUTDEVICE8W iface, LPDIACTIONFORMATW lpdiaf,
if (type == DIDFT_PSHBUTTON) type = DIDFT_BUTTON; if (type == DIDFT_PSHBUTTON) type = DIDFT_BUTTON;
if (type == DIDFT_RELAXIS) type = DIDFT_AXIS; if (type == DIDFT_RELAXIS) type = DIDFT_AXIS;
/* Assure that the object exists */ /* Make sure the object exists */
odf = dataformat_to_odf_by_type(df, inst, type); odf = dataformat_to_odf_by_type(df, inst, type);
if (odf != NULL) if (odf != NULL)
@ -632,7 +632,7 @@ HRESULT _build_action_map(LPDIRECTINPUTDEVICE8W iface, LPDIACTIONFORMATW lpdiaf,
} }
else if (!(dwFlags & DIDBAM_PRESERVE)) else if (!(dwFlags & DIDBAM_PRESERVE))
{ {
/* we must clear action data belonging to other devices */ /* We must clear action data belonging to other devices */
memset(&lpdiaf->rgoAction[i].guidInstance, 0, sizeof(GUID)); memset(&lpdiaf->rgoAction[i].guidInstance, 0, sizeof(GUID));
lpdiaf->rgoAction[i].dwHow = DIAH_UNMAPPED; lpdiaf->rgoAction[i].dwHow = DIAH_UNMAPPED;
} }

View File

@ -2494,7 +2494,7 @@ int __thiscall basic_filebuf_char_uflow(basic_filebuf_char *this)
} }
} }
FIXME("buffer is to small\n"); FIXME("buffer is too small\n");
return EOF; return EOF;
} }

View File

@ -5530,7 +5530,7 @@ num_get* num_get_char_use_facet(const locale *loc)
/* Copies number to dest buffer, validates grouping and skips separators. /* Copies number to dest buffer, validates grouping and skips separators.
* Updates first so it points past the number, all digits are skipped. * Updates first so it points past the number, all digits are skipped.
* Returns how exponent needs to changed. * Returns how exponent needs to changed.
* Size of dest buffer is not specified, assuming it's not smaller then 32: * Size of dest buffer is not specified, assuming it's not smaller than 32:
* strlen(+0.e+) + 22(digits) + 4(expontent) + 1(nullbyte) * strlen(+0.e+) + 22(digits) + 4(expontent) + 1(nullbyte)
*/ */
int __cdecl num_get_char__Getffld(const num_get *this, char *dest, istreambuf_iterator_char *first, int __cdecl num_get_char__Getffld(const num_get *this, char *dest, istreambuf_iterator_char *first,
@ -5685,7 +5685,7 @@ int __cdecl num_get_char__Getffldx(const num_get *this, char *dest, istreambuf_i
/* Copies number to dest buffer, validates grouping and skips separators. /* Copies number to dest buffer, validates grouping and skips separators.
* Updates first so it points past the number, all digits are skipped. * Updates first so it points past the number, all digits are skipped.
* Returns number base (8, 10 or 16). * Returns number base (8, 10 or 16).
* Size of dest buffer is not specified, assuming it's not smaller then 25: * Size of dest buffer is not specified, assuming it's not smaller than 25:
* 22(8^22>2^64)+1(detect overflows)+1(sign)+1(nullbyte) = 25 * 22(8^22>2^64)+1(detect overflows)+1(sign)+1(nullbyte) = 25
*/ */
int __cdecl num_get_char__Getifld(const num_get *this, char *dest, istreambuf_iterator_char *first, int __cdecl num_get_char__Getifld(const num_get *this, char *dest, istreambuf_iterator_char *first,

View File

@ -63,7 +63,7 @@ static UINT get_column_size( const struct table *table, UINT column )
case CIM_STRING: case CIM_STRING:
return sizeof(WCHAR *); return sizeof(WCHAR *);
default: default:
ERR("unkown column type %u\n", table->columns[column].type & COL_TYPE_MASK); ERR("unknown column type %u\n", table->columns[column].type & COL_TYPE_MASK);
break; break;
} }
return sizeof(INT32); return sizeof(INT32);

View File

@ -5605,7 +5605,7 @@ static struct WS_hostent *WS_create_he(char *name, int aliases, int aliases_size
memset(p_to, 0, size); memset(p_to, 0, size);
/* Use the memory in the same way winsock does. /* Use the memory in the same way winsock does.
* First set the pointer for aliases, second set the pointers for addressess. * First set the pointer for aliases, second set the pointers for addresses.
* Third fill the addresses indexes, fourth jump aliases names size. * Third fill the addresses indexes, fourth jump aliases names size.
* Fifth fill the hostname. * Fifth fill the hostname.
* NOTE: This method is valid for OS version's >= XP. * NOTE: This method is valid for OS version's >= XP.

View File

@ -670,7 +670,7 @@ static unsigned WCCURSES_FillMouse(INPUT_RECORD* ir)
WINE_TRACE("[%u]: (%d, %d) %08lx\n", WINE_TRACE("[%u]: (%d, %d) %08lx\n",
mevt.id, mevt.x, mevt.y, (unsigned long)mevt.bstate); mevt.id, mevt.x, mevt.y, (unsigned long)mevt.bstate);
/* macros to ease mapping ncurse button numbering to windows' one */ /* macros to ease mapping ncurses button numbering to windows' one */
#define BTN1_BIT FROM_LEFT_1ST_BUTTON_PRESSED #define BTN1_BIT FROM_LEFT_1ST_BUTTON_PRESSED
#define BTN2_BIT RIGHTMOST_BUTTON_PRESSED #define BTN2_BIT RIGHTMOST_BUTTON_PRESSED
#define BTN3_BIT FROM_LEFT_2ND_BUTTON_PRESSED #define BTN3_BIT FROM_LEFT_2ND_BUTTON_PRESSED