mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 16:47:17 +00:00
Spelling fixes.
This commit is contained in:
parent
0a31ab7e2a
commit
464258b7cd
|
@ -729,7 +729,7 @@ static HRESULT AVIFILE_OpenCompressor(IAVIStreamImpl *This)
|
||||||
This->sInfo.dwQuality = (DWORD)ICQUALITY_DEFAULT;
|
This->sInfo.dwQuality = (DWORD)ICQUALITY_DEFAULT;
|
||||||
SetRectEmpty(&This->sInfo.rcFrame);
|
SetRectEmpty(&This->sInfo.rcFrame);
|
||||||
|
|
||||||
/* convert positions ansd sizes to output format */
|
/* convert positions and sizes to output format */
|
||||||
CONVERT_STREAM_to_THIS(&This->sInfo.dwStart);
|
CONVERT_STREAM_to_THIS(&This->sInfo.dwStart);
|
||||||
CONVERT_STREAM_to_THIS(&This->sInfo.dwLength);
|
CONVERT_STREAM_to_THIS(&This->sInfo.dwLength);
|
||||||
CONVERT_STREAM_to_THIS(&This->sInfo.dwSuggestedBufferSize);
|
CONVERT_STREAM_to_THIS(&This->sInfo.dwSuggestedBufferSize);
|
||||||
|
|
|
@ -367,7 +367,7 @@ static int resolveExplicit(int level, int dir, WORD *pcls, WORD *plevel, int cch
|
||||||
enum states /* possible states */
|
enum states /* possible states */
|
||||||
{
|
{
|
||||||
xa, /* arabic letter */
|
xa, /* arabic letter */
|
||||||
xr, /* right leter */
|
xr, /* right letter */
|
||||||
xl, /* left letter */
|
xl, /* left letter */
|
||||||
|
|
||||||
ao, /* arabic lett. foll by ON */
|
ao, /* arabic lett. foll by ON */
|
||||||
|
@ -494,7 +494,7 @@ static int GetResolvedType(int action)
|
||||||
|
|
||||||
States can be of two kinds:
|
States can be of two kinds:
|
||||||
- Immediate Resolution State, where each input token
|
- Immediate Resolution State, where each input token
|
||||||
is resolved as soon as it is seen. These states havve
|
is resolved as soon as it is seen. These states have
|
||||||
only single action codes (xxN) or the no-op (xxx)
|
only single action codes (xxN) or the no-op (xxx)
|
||||||
for static input tokens.
|
for static input tokens.
|
||||||
- Deferred Resolution State, where input tokens either
|
- Deferred Resolution State, where input tokens either
|
||||||
|
|
|
@ -1041,7 +1041,7 @@ BOOL WINAPI LineDDA(INT nXStart, INT nYStart, INT nXEnd, INT nYEnd,
|
||||||
* *Very* simple bezier drawing code,
|
* *Very* simple bezier drawing code,
|
||||||
*
|
*
|
||||||
* It uses a recursive algorithm to divide the curve in a series
|
* It uses a recursive algorithm to divide the curve in a series
|
||||||
* of straight line segements. Not ideal but for me sufficient.
|
* of straight line segments. Not ideal but for me sufficient.
|
||||||
* If you are in need for something better look for some incremental
|
* If you are in need for something better look for some incremental
|
||||||
* algorithm.
|
* algorithm.
|
||||||
*
|
*
|
||||||
|
@ -1085,7 +1085,7 @@ BOOL WINAPI LineDDA(INT nXStart, INT nYStart, INT nXEnd, INT nYEnd,
|
||||||
* Points[0] and Points[3] are begin and endpoint
|
* Points[0] and Points[3] are begin and endpoint
|
||||||
* Points[1] and Points[2] are control points
|
* Points[1] and Points[2] are control points
|
||||||
* level is the recursion depth
|
* level is the recursion depth
|
||||||
* returns true if the recusion can be terminated
|
* returns true if the recursion can be terminated
|
||||||
*/
|
*/
|
||||||
static BOOL BezierCheck( int level, POINT *Points)
|
static BOOL BezierCheck( int level, POINT *Points)
|
||||||
{
|
{
|
||||||
|
@ -1200,7 +1200,7 @@ static void GDI_InternalBezier( POINT *Points, POINT **PtsOut, INT *dwOut,
|
||||||
*
|
*
|
||||||
* RETURNS
|
* RETURNS
|
||||||
*
|
*
|
||||||
* Ptr to an array of POINTs that contain the lines that approximinate the
|
* Ptr to an array of POINTs that contain the lines that approximate the
|
||||||
* Beziers. The array is allocated on the process heap and it is the caller's
|
* Beziers. The array is allocated on the process heap and it is the caller's
|
||||||
* responsibility to HeapFree it. [this is not a particularly nice interface
|
* responsibility to HeapFree it. [this is not a particularly nice interface
|
||||||
* but since we can't know in advance how many points will generate, the
|
* but since we can't know in advance how many points will generate, the
|
||||||
|
|
|
@ -225,7 +225,7 @@ static DWORD get_ports_from_reg(DWORD level, LPBYTE pPorts, DWORD cbBuf, LPDWORD
|
||||||
|
|
||||||
if ((res == ERROR_SUCCESS) && (portname[0])) {
|
if ((res == ERROR_SUCCESS) && (portname[0])) {
|
||||||
numentries++;
|
numentries++;
|
||||||
/* calsulate the required size */
|
/* calculate the required size */
|
||||||
needed += entrysize;
|
needed += entrysize;
|
||||||
needed += (len + 1) * sizeof(WCHAR);
|
needed += (len + 1) * sizeof(WCHAR);
|
||||||
if (level > 1) {
|
if (level > 1) {
|
||||||
|
|
|
@ -434,7 +434,7 @@ static void update_result_text(HWND hdlg, const ps_struct_t *ps_struct)
|
||||||
LoadStringW(OLEDLG_hInstance, res_id, resource_txt, sizeof(resource_txt)/sizeof(WCHAR));
|
LoadStringW(OLEDLG_hInstance, res_id, resource_txt, sizeof(resource_txt)/sizeof(WCHAR));
|
||||||
if((ptr = strstrW(resource_txt, percent_s)))
|
if((ptr = strstrW(resource_txt, percent_s)))
|
||||||
{
|
{
|
||||||
/* FIXME handle %s in ResultText. Sub appname if IDS_PS_PASTE_OBJECT{_AS_ICON}. Else sub appropiate type name */
|
/* FIXME handle %s in ResultText. Sub appname if IDS_PS_PASTE_OBJECT{_AS_ICON}. Else sub appropriate type name */
|
||||||
size_t result_txt_len = strlenW(pent->lpstrResultText);
|
size_t result_txt_len = strlenW(pent->lpstrResultText);
|
||||||
ptrdiff_t offs = (char*)ptr - (char*)resource_txt;
|
ptrdiff_t offs = (char*)ptr - (char*)resource_txt;
|
||||||
result_txt = HeapAlloc(GetProcessHeap(), 0, (strlenW(resource_txt) + result_txt_len - 1) * sizeof(WCHAR));
|
result_txt = HeapAlloc(GetProcessHeap(), 0, (strlenW(resource_txt) + result_txt_len - 1) * sizeof(WCHAR));
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
* that only care about gross token distinctions.
|
* that only care about gross token distinctions.
|
||||||
* Major/minor numbers: Within their class, tokens have a major
|
* Major/minor numbers: Within their class, tokens have a major
|
||||||
* number, and may also have a minor number to further
|
* number, and may also have a minor number to further
|
||||||
* distinquish tokens with the same major number.
|
* distinguish tokens with the same major number.
|
||||||
*
|
*
|
||||||
* *** Class, major and minor token numbers are all >= 0 ***
|
* *** Class, major and minor token numbers are all >= 0 ***
|
||||||
*
|
*
|
||||||
|
|
|
@ -137,7 +137,7 @@ typedef struct {
|
||||||
DWORD dwThreadID;
|
DWORD dwThreadID;
|
||||||
OSS_MSG_RING msgRing;
|
OSS_MSG_RING msgRing;
|
||||||
|
|
||||||
/* make accomodation for the inacuraccy of OSS when reporting buffer size remaining by using the clock instead of GETOSPACE */
|
/* make accomodation for the inaccuracy of OSS when reporting buffer size remaining by using the clock instead of GETOSPACE */
|
||||||
DWORD dwProjectedFinishTime;
|
DWORD dwProjectedFinishTime;
|
||||||
|
|
||||||
} WINE_WAVEOUT;
|
} WINE_WAVEOUT;
|
||||||
|
|
|
@ -1166,7 +1166,7 @@ static BOOL ReadAFMDir(LPCSTR dirname)
|
||||||
* Reads font metrics from Type 1 AFM font files in directories listed in the
|
* Reads font metrics from Type 1 AFM font files in directories listed in the
|
||||||
* [afmdirs] section of the Wine configuration file.
|
* [afmdirs] section of the Wine configuration file.
|
||||||
*
|
*
|
||||||
* If this function fails (returns FALSE), the dirver will fail to initialize
|
* If this function fails (returns FALSE), the driver will fail to initialize
|
||||||
* and the driver heap will be destroyed, so it's not necessary to HeapFree
|
* and the driver heap will be destroyed, so it's not necessary to HeapFree
|
||||||
* everything in that event.
|
* everything in that event.
|
||||||
*
|
*
|
||||||
|
|
|
@ -409,7 +409,7 @@ INT CDECL ldap_parse_vlv_controlA( WLDAP32_LDAP *ld, PLDAPControlA *control,
|
||||||
* PARAMS
|
* PARAMS
|
||||||
* ld [I] Pointer to an LDAP context.
|
* ld [I] Pointer to an LDAP context.
|
||||||
* control [I] Controls obtained from a result message.
|
* control [I] Controls obtained from a result message.
|
||||||
* targetpos [O] Positition of the target in the result list.
|
* targetpos [O] Position of the target in the result list.
|
||||||
* listcount [O] Estimate of the number of results in the list.
|
* listcount [O] Estimate of the number of results in the list.
|
||||||
* context [O] Server side context.
|
* context [O] Server side context.
|
||||||
* errcode [O] Error code from the listview operation.
|
* errcode [O] Error code from the listview operation.
|
||||||
|
|
Loading…
Reference in a new issue