diff --git a/dlls/comctl32/tab.c b/dlls/comctl32/tab.c index 59ad29a765e..7d1f1b90b6e 100644 --- a/dlls/comctl32/tab.c +++ b/dlls/comctl32/tab.c @@ -1060,7 +1060,7 @@ static void TAB_SetupScrolling( * list and ignores scrolling and selection. * It also uses the current font to determine the height of the tab row and * it checks if all the tabs fit in the client area of the window. If they - * dont, a scrolling control is added. + * don't, a scrolling control is added. */ static void TAB_SetItemBounds (HWND hwnd) { diff --git a/dlls/commdlg/filedlg.c b/dlls/commdlg/filedlg.c index 5e7db7fb450..f039e885ab9 100644 --- a/dlls/commdlg/filedlg.c +++ b/dlls/commdlg/filedlg.c @@ -1711,7 +1711,7 @@ BOOL FILEDLG95_OnOpen(HWND hwnd) nOpenAction = ONOPEN_BROWSE; - /* dont apply any checks with OFN_NOVALIDATE */ + /* don't apply any checks with OFN_NOVALIDATE */ { LPWSTR lpszTemp, lpszTemp1; LPITEMIDLIST pidl = NULL; diff --git a/dlls/commdlg/finddlg32.c b/dlls/commdlg/finddlg32.c index a75de117774..6863ef7af36 100644 --- a/dlls/commdlg/finddlg32.c +++ b/dlls/commdlg/finddlg32.c @@ -54,7 +54,7 @@ static UINT HelpMessage; * The find/replace calls are passed a structure that is _not_ used * internally. There is a local copy that holds the running info to * be able to combine xxxA and xxxW calls. The passed pointer is - * returned upon sendmessage. Apps wont break this way when they rely + * returned upon sendmessage. Apps won't break this way when they rely * on the original pointer. This will work as long as the sizes of * FINDREPLACEA == FINDREPLACEW. The local copy will also prevent * the app to see the wine-specific extra flags to distinguish between diff --git a/dlls/d3d8/d3d8_private.h b/dlls/d3d8/d3d8_private.h index 81a4be22640..73d3cd574a0 100644 --- a/dlls/d3d8/d3d8_private.h +++ b/dlls/d3d8/d3d8_private.h @@ -1298,7 +1298,7 @@ const char *debug_d3dtexturestate(DWORD State); #if 0 /* NOTE: Must be 0 in cvs */ /* To avoid having to get gigabytes of trace, the following can be compiled in, and at the start of each frame, a check is made for the existence of C:\D3DTRACE, and if if exists d3d trace - is enabled, and if it doesnt exists it is disabled. */ + is enabled, and if it doesn't exists it is disabled. */ # define FRAME_DEBUGGING /* Adding in the SINGLE_FRAME_DEBUGGING gives a trace of just what makes up a single frame, before the file is deleted */ diff --git a/dlls/d3d8/device.c b/dlls/d3d8/device.c index a976e46c820..d7009b9ac2e 100644 --- a/dlls/d3d8/device.c +++ b/dlls/d3d8/device.c @@ -124,7 +124,7 @@ void setupTextureStates(LPDIRECT3DDEVICE8 iface, DWORD Stage, DWORD Flags) { #endif checkGLcall("glActiveTextureARB"); } else if (Stage > 0) { - FIXME("Program using multiple concurrent textures which this opengl implementation doesnt support\n"); + FIXME("Program using multiple concurrent textures which this opengl implementation doesn't support\n"); } changeTexture = FALSE; } @@ -487,7 +487,7 @@ HRESULT WINAPI IDirect3DDevice8Impl_Present(LPDIRECT3DDEVICE8 iface, CONST REC glXSwapBuffers(This->display, This->drawable); - /* Dont call checkGLcall, as glGetError is not applicable here */ + /* Don't call checkGLcall, as glGetError is not applicable here */ TRACE("glXSwapBuffers called, Starting new frame\n"); /* FPS support */ @@ -986,7 +986,7 @@ HRESULT WINAPI IDirect3DDevice8Impl_CopyRects(LPDIRECT3DDEVICE8 iface, pSourceSurface, pSourceRectsArray, cRects, pDestinationSurface, pDestPointsArray); /* Note: Not sure about the d3dfmt_unknown bit, but seems to avoid a problem inside - a sample and doesnt seem to break anything as far as I can tell */ + a sample and doesn't seem to break anything as far as I can tell */ if (src->myDesc.Format != dst->myDesc.Format && (dst->myDesc.Format != D3DFMT_UNKNOWN)) { TRACE("Formats do not match (%x,%s) / (%x,%s)\n", src->myDesc.Format, debug_d3dformat(src->myDesc.Format), @@ -2119,7 +2119,7 @@ HRESULT WINAPI IDirect3DDevice8Impl_SetClipPlane(LPDIRECT3DDEVICE8 iface, DWOR /* Validate Index */ if (Index >= GL_LIMITS(clipplanes)) { - TRACE("Application has requested clipplane this device doesnt support\n"); + TRACE("Application has requested clipplane this device doesn't support\n"); return D3DERR_INVALIDCALL; } @@ -2165,7 +2165,7 @@ HRESULT WINAPI IDirect3DDevice8Impl_GetClipPlane(LPDIRECT3DDEVICE8 iface, DWOR /* Validate Index */ if (Index >= GL_LIMITS(clipplanes)) { - TRACE("Application has requested clipplane this device doesnt support\n"); + TRACE("Application has requested clipplane this device doesn't support\n"); return D3DERR_INVALIDCALL; } @@ -2271,7 +2271,7 @@ HRESULT WINAPI IDirect3DDevice8Impl_SetRenderState(LPDIRECT3DDEVICE8 iface, D3 checkGLcall("glShadeModel"); break; case D3DSHADE_PHONG: - FIXME("D3DSHADE_PHONG isnt supported?\n"); + FIXME("D3DSHADE_PHONG isn't supported?\n"); LEAVE_GL(); return D3DERR_INVALIDCALL; @@ -2508,7 +2508,7 @@ HRESULT WINAPI IDirect3DDevice8Impl_SetRenderState(LPDIRECT3DDEVICE8 iface, D3 #endif checkGLcall("Activate texture.. to update const color"); } else if (i>0) { - FIXME("Program using multiple concurrent textures which this opengl implementation doesnt support\n"); + FIXME("Program using multiple concurrent textures which this opengl implementation doesn't support\n"); } glTexEnvfv(GL_TEXTURE_ENV, GL_TEXTURE_ENV_COLOR, &col[0]); @@ -2526,8 +2526,8 @@ HRESULT WINAPI IDirect3DDevice8Impl_SetRenderState(LPDIRECT3DDEVICE8 iface, D3 single color means it is merged in. However in both cases they are being used to some extent. To disable specular color, set it explicitly to black and turn off GL_COLOR_SUM_EXT - NOTE: If not supported dont give FIXME as very minimal impact and very few people are - yet running 1.4! + NOTE: If not supported don't give FIXMEs the impact is really minimal and very few people are + running 1.4 yet! */ if (Value) { glMaterialfv(GL_FRONT_AND_BACK, GL_SPECULAR, (float*) &This->UpdateStateBlock->material.Specular); @@ -3072,7 +3072,7 @@ HRESULT WINAPI IDirect3DDevice8Impl_SetTexture(LPDIRECT3DDEVICE8 iface, DWORD #endif checkGLcall("glActiveTextureARB"); } else if (Stage>0) { - FIXME("Program using multiple concurrent textures which this opengl implementation doesnt support\n"); + FIXME("Program using multiple concurrent textures which this opengl implementation doesn't support\n"); } /* Decrement the count of the previous texture */ @@ -3206,7 +3206,7 @@ HRESULT WINAPI IDirect3DDevice8Impl_SetTextureStageState(LPDIRECT3DDEVICE8 ifa vcheckGLcall("glActiveTextureARB"); #endif } else if (Stage > 0) { - FIXME("Program using multiple concurrent textures which this opengl implementation doesnt support\n"); + FIXME("Program using multiple concurrent textures which this opengl implementation doesn't support\n"); } switch (Type) { @@ -3243,7 +3243,7 @@ HRESULT WINAPI IDirect3DDevice8Impl_SetTextureStageState(LPDIRECT3DDEVICE8 ifa realVal = GL_LINEAR_MIPMAP_LINEAR; } } else if (ValueMIN == D3DTEXF_NONE) { - /* Doesnt really make sense - Windows just seems to disable + /* Doesn't really make sense - Windows just seems to disable mipmapping when this occurs */ FIXME("Odd - minfilter of none, just disabling mipmaps\n"); realVal = GL_LINEAR; @@ -3292,7 +3292,7 @@ HRESULT WINAPI IDirect3DDevice8Impl_SetTextureStageState(LPDIRECT3DDEVICE8 ifa checkGLcall("Disable GL_TEXTURE_2D"); glDisable(GL_TEXTURE_3D); checkGLcall("Disable GL_TEXTURE_3D"); - break; /* Dont bother setting the texture operations */ + break; /* Don't bother setting the texture operations */ } else { /* Enable only the appropriate texture dimension */ if (Type == D3DTSS_COLOROP) { diff --git a/dlls/d3d8/directx.c b/dlls/d3d8/directx.c index 87a02bdd6b0..2da80d1c13b 100644 --- a/dlls/d3d8/directx.c +++ b/dlls/d3d8/directx.c @@ -458,7 +458,7 @@ HRESULT WINAPI IDirect3D8Impl_GetDeviceCaps(LPDIRECT3D8 iface, UINT Adapter, D glGetIntegerv(GL_MAX_TEXTURE_SIZE, &gl_tex_size); } - /* If we dont know the device settings, go query them now */ + /* If we don't know the device settings, go query them now */ if (This->isGLInfoValid == FALSE) IDirect3D8Impl_FillGLCaps(iface, NULL); pCaps->DeviceType = (DeviceType == D3DDEVTYPE_HAL) ? D3DDEVTYPE_HAL : D3DDEVTYPE_REF; /* Not quite true, but use h/w supported by opengl I suppose */ @@ -928,7 +928,7 @@ HRESULT WINAPI IDirect3D8Impl_CreateDevice (LPDIRECT3D8 iface, /* Initialize openGl - Note the visual is chosen as the window is created and the glcontext cannot use different properties after that point in time. FIXME: How to handle when requested format - doesnt match actual visual? Cannot choose one here - code removed as it ONLY works if the one + doesn't match actual visual? Cannot choose one here - code removed as it ONLY works if the one it chooses is identical to the one already being used! */ /* FIXME: Handle stencil appropriately via EnableAutoDepthStencil / AutoDepthStencilFormat */ diff --git a/dlls/d3d8/drawprim.c b/dlls/d3d8/drawprim.c index 7a673e5ca54..1afff076fd7 100644 --- a/dlls/d3d8/drawprim.c +++ b/dlls/d3d8/drawprim.c @@ -180,7 +180,7 @@ void init_materials(LPDIRECT3DDEVICE8 iface, BOOL isDiffuseSupplied) { } else if ((This->tracking_color == IS_TRACKING && isDiffuseSupplied == FALSE) || (This->tracking_color == NEEDS_TRACKING && isDiffuseSupplied == FALSE)) { - /* If we are tracking the current color but one isnt supplied, dont! */ + /* If we are tracking the current color but one isn't supplied, don't! */ glDisable(GL_COLOR_MATERIAL); checkGLcall("glDisable GL_COLOR_MATERIAL"); This->tracking_color = NEEDS_TRACKING; @@ -225,7 +225,7 @@ BOOL primitiveInitState(LPDIRECT3DDEVICE8 iface, BOOL vtx_transformed, BOOL vtx_ BOOL isLightingOn = FALSE; ICOM_THIS(IDirect3DDevice8Impl,iface); - /* If no normals, DISABLE lighting otherwise, dont touch lighing as it is + /* If no normals, DISABLE lighting otherwise, don't touch lighing as it is set by the appropriate render state. Note Vertex Shader output is already lit */ if (vtx_lit || useVS) { isLightingOn = glIsEnabled(GL_LIGHTING); @@ -538,7 +538,7 @@ void draw_vertex(LPDIRECT3DDEVICE8 iface, /* interf for (textureNo = 0; textureNo < GL_LIMITS(textures); ++textureNo) { if (!GL_SUPPORT(ARB_MULTITEXTURE) && textureNo > 0) { - FIXME("Program using multiple concurrent textures which this opengl implementation doesnt support\n"); + FIXME("Program using multiple concurrent textures which this opengl implementation doesn't support\n"); continue ; } @@ -681,7 +681,7 @@ void drawStridedFast(LPDIRECT3DDEVICE8 iface, Direct3DVertexStridedData *sd, /* Blend Data ----------------------------------------------*/ if ((sd->u.s.blendWeights.lpData != NULL) || (sd->u.s.blendMatrixIndices.lpData != NULL)) { - /* FIXME: Wont get here as will drop to slow method */ + /* FIXME: Won't get here as will drop to slow method */ FIXME("Blending not supported in fast draw routine\n"); #if 0 /* Vertex blend support needs to be added */ @@ -737,7 +737,7 @@ void drawStridedFast(LPDIRECT3DDEVICE8 iface, Direct3DVertexStridedData *sd, if (sd->u.s.pSize.lpData != NULL) { /* no such functionality in the fixed function GL pipeline */ - /* FIXME: Wont get here as will drop to slow method */ + /* FIXME: Won't get here as will drop to slow method */ FIXME("Cannot change ptSize here in openGl\n"); } @@ -829,7 +829,7 @@ void drawStridedFast(LPDIRECT3DDEVICE8 iface, Direct3DVertexStridedData *sd, int coordIdx = This->UpdateStateBlock->texture_state[textureNo][D3DTSS_TEXCOORDINDEX]; if (!GL_SUPPORT(ARB_MULTITEXTURE) && textureNo > 0) { - FIXME("Program using multiple concurrent textures which this opengl implementation doesnt support\n"); + FIXME("Program using multiple concurrent textures which this opengl implementation doesn't support\n"); glDisableClientState(GL_TEXTURE_COORD_ARRAY); glMultiTexCoord4fARB(GL_TEXTURE0_ARB + textureNo, 0, 0, 0, 1); continue; @@ -1021,7 +1021,7 @@ void drawStridedSlow(LPDIRECT3DDEVICE8 iface, Direct3DVertexStridedData *sd, for (textureNo = 0; textureNo < GL_LIMITS(textures); ++textureNo) { if (!GL_SUPPORT(ARB_MULTITEXTURE) && textureNo > 0) { - FIXME("Program using multiple concurrent textures which this opengl implementation doesnt support\n"); + FIXME("Program using multiple concurrent textures which this opengl implementation doesn't support\n"); continue ; } diff --git a/dlls/d3d8/stateblock.c b/dlls/d3d8/stateblock.c index ad5639e25fd..5f1c1ef6aee 100644 --- a/dlls/d3d8/stateblock.c +++ b/dlls/d3d8/stateblock.c @@ -219,7 +219,7 @@ HRESULT WINAPI IDirect3DDeviceImpl_InitStartupStateBlock(IDirect3DDevice8Impl* T #endif checkGLcall("glActiveTextureARB"); } else if (i > 0) { - FIXME("Program using multiple concurrent textures which this opengl implementation doesnt support\n"); + FIXME("Program using multiple concurrent textures which this opengl implementation doesn't support\n"); } /* Generate an opengl texture name */ diff --git a/dlls/d3d8/surface.c b/dlls/d3d8/surface.c index 661cc71b298..961bc5a2a13 100644 --- a/dlls/d3d8/surface.c +++ b/dlls/d3d8/surface.c @@ -152,7 +152,7 @@ HRESULT WINAPI IDirect3DSurface8Impl_LockRect(LPDIRECT3DSURFACE8 iface, D3DLOCKE TRACE("(%p) : rect@%p flags(%08lx), output lockedRect@%p, memory@%p\n", This, pRect, Flags, pLockedRect, This->allocatedMemory); } - /* DXTn formats dont have exact pitches as they are to the newt row of blocks, + /* DXTn formats don't have exact pitches as they are to the new row of blocks, where each block is 4x4 pixels, 8 bytes (dxt1) and 16 bytes (dxt3/5) ie pitch = (width/4) * bytes per block */ if (This->myDesc.Format == D3DFMT_DXT1) /* DXT1 is 8 bytes per block */ @@ -252,7 +252,7 @@ HRESULT WINAPI IDirect3DSurface8Impl_LockRect(LPDIRECT3DSURFACE8 iface, D3DLOCKE } if (Flags & (D3DLOCK_NO_DIRTY_UPDATE | D3DLOCK_READONLY)) { - /* Dont dirtify */ + /* Don't dirtify */ } else { /** * Dirtify on lock diff --git a/dlls/d3d8/utils.c b/dlls/d3d8/utils.c index f63d9889cda..3ac6064c3a8 100644 --- a/dlls/d3d8/utils.c +++ b/dlls/d3d8/utils.c @@ -660,8 +660,8 @@ void GetSrcAndOpFromValue(DWORD iValue, BOOL isAlphaArg, GLenum* source, GLenum* break; case D3DTA_SPECULAR: /** - * According to the GL_ARB_texture_env_combine specs, SPECULAR is 'Secondary color' and - * isnt supported until base GL supports it + * According to the GL_ARB_texture_env_combine specs, SPECULAR is + * 'Secondary color' and isn't supported until base GL supports it * There is no concept of temp registers as far as I can tell */ diff --git a/dlls/d3d8/volume.c b/dlls/d3d8/volume.c index 307a93469d7..5cf44e1c693 100644 --- a/dlls/d3d8/volume.c +++ b/dlls/d3d8/volume.c @@ -146,7 +146,7 @@ HRESULT WINAPI IDirect3DVolume8Impl_LockBox(LPDIRECT3DVOLUME8 iface, D3DLOCKED_B } if (Flags & (D3DLOCK_NO_DIRTY_UPDATE | D3DLOCK_READONLY)) { - /* Dont dirtify */ + /* Don't dirtify */ } else { /** * Dirtify on lock diff --git a/dlls/dinput/joystick/linuxinput.c b/dlls/dinput/joystick/linuxinput.c index 541b04100bf..58f5ad692ff 100644 --- a/dlls/dinput/joystick/linuxinput.c +++ b/dlls/dinput/joystick/linuxinput.c @@ -460,7 +460,7 @@ map_axis(JoystickImpl* This, int axis, int val) { if (xmin == xmax) return val; if ((hmin == hmax) || (hmax==xmid) || (hmin==xmid)) return val; - /* dont assume total linearity, but linearity starting from a zeropoint */ + /* don't assume total linearity, but linearity starting from a zeropoint */ if (val > xmid) { ret = (val-xmid)*((wmax-wmin)/2)/(hmax-xmid)+0; } else { diff --git a/dlls/dinput/mouse/main.c b/dlls/dinput/mouse/main.c index f9f39143eed..89b8f54ca1b 100644 --- a/dlls/dinput/mouse/main.c +++ b/dlls/dinput/mouse/main.c @@ -434,7 +434,7 @@ static LRESULT CALLBACK dinput_mouse_hook( int code, WPARAM wparam, LPARAM lpara /* Only allow mouse events every 10 ms. * This is to allow the cursor to start acceleration before * the warps happen. But if it involves a mouse button event we - * allow it since we dont want to loose the clicks. + * allow it since we don't want to loose the clicks. */ if (((GetCurrentTime() - last_event) < 10) && wparam == WM_MOUSEMOVE) diff --git a/dlls/icmp/ip.h b/dlls/icmp/ip.h index 69480875da0..9c669d9fd88 100644 --- a/dlls/icmp/ip.h +++ b/dlls/icmp/ip.h @@ -60,7 +60,7 @@ struct ip { u_short ip_id; /* identification */ u_short ip_off; /* fragment offset field */ #define IP_RF 0x8000 /* reserved fragment flag */ -#define IP_DF 0x4000 /* dont fragment flag */ +#define IP_DF 0x4000 /* don't fragment flag */ #define IP_MF 0x2000 /* more fragments flag */ #define IP_OFFMASK 0x1fff /* mask for fragmenting bits */ u_char ip_ttl; /* time to live */ diff --git a/dlls/kernel/tests/locale.c b/dlls/kernel/tests/locale.c index a4147fbabf6..052ed6b27ae 100644 --- a/dlls/kernel/tests/locale.c +++ b/dlls/kernel/tests/locale.c @@ -259,7 +259,7 @@ static void test_GetTimeFormatA() ret = GetTimeFormatA(lcid, 0, &curtime, input, buffer, COUNTOF(buffer)); EXPECT_VALID; EXPECT_LENA; EXPECT_EQA; - STRINGSA("h", "text"); /* Dont write to buffer if len is 0*/ + STRINGSA("h", "text"); /* Don't write to buffer if len is 0 */ strcpy(buffer, "text"); ret = GetTimeFormatA(lcid, 0, &curtime, input, buffer, 0); EXPECT_VALID; EXPECT_LEN(2); EXPECT_EQA; diff --git a/dlls/msvcrt/file.c b/dlls/msvcrt/file.c index c2a41c51a9f..b801e839508 100644 --- a/dlls/msvcrt/file.c +++ b/dlls/msvcrt/file.c @@ -138,7 +138,7 @@ static void msvcrt_free_fd(int fd) MSVCRT_flags[fd] = 0; TRACE(":fd (%d) freed\n",fd); if (fd < 3) - return; /* dont use 0,1,2 for user files */ + return; /* don't use 0,1,2 for user files */ if (fd == MSVCRT_fdend - 1) MSVCRT_fdend--; if (fd < MSVCRT_fdstart) @@ -450,7 +450,7 @@ int _close(int fd) MSVCRT_free(MSVCRT_files[fd]->_base); } - /* Dont free std FILE*'s, they are not dynamic */ + /* Don't free std FILE*'s, they are not dynamic */ if (fd > 2 && MSVCRT_files[fd]) MSVCRT_free(MSVCRT_files[fd]); @@ -846,7 +846,7 @@ long _get_osfhandle(int fd) { /* FIXME: I'm not convinced that I should be copying the * handle here - it may be leaked if the app doesn't - * close it (and the API docs dont say that it should) + * close it (and the API docs don't say that it should) * Not duplicating it means that it can't be inherited * and so lcc's wedit doesn't cope when it passes it to * child processes. I've an idea that it should either @@ -1213,7 +1213,7 @@ int _read(int fd, void *buf, unsigned int count) char *bufstart = buf; HANDLE hand = msvcrt_fdtoh(fd); - /* Dont trace small reads, it gets *very* annoying */ + /* Don't trace small reads, it gets *very* annoying */ if (count > 4) TRACE(":fd (%d) handle (%p) buf (%p) len (%d)\n",fd,hand,buf,count); if (hand == INVALID_HANDLE_VALUE) @@ -1309,10 +1309,10 @@ int _stati64(const char* path, struct _stati64 * buf) memset(buf,0,sizeof(struct _stati64)); - /* FIXME: rdev isnt drive num,despite what the docs say-what is it? + /* FIXME: rdev isn't drive num, despite what the docs say-what is it? Bon 011120: This FIXME seems incorrect - Also a letter as first char isn't enough to be classify - as drive letter + Also a letter as first char isn't enough to be classified + as a drive letter */ if (isalpha(*path)&& (*(path+1)==':')) buf->st_dev = buf->st_rdev = toupper(*path) - 'A'; /* drive num */ @@ -1523,7 +1523,7 @@ int _write(int fd, const void* buf, unsigned int count) DWORD num_written; HANDLE hand = msvcrt_fdtoh(fd); - /* Dont trace small writes, it gets *very* annoying */ + /* Don't trace small writes, it gets *very* annoying */ #if 0 if (count > 32) TRACE(":fd (%d) handle (%d) buf (%p) len (%d)\n",fd,hand,buf,count); diff --git a/dlls/msvcrt/main.c b/dlls/msvcrt/main.c index 77876cc063f..d8033e9b186 100644 --- a/dlls/msvcrt/main.c +++ b/dlls/msvcrt/main.c @@ -153,12 +153,12 @@ char* MSVCRT___unDName(int unknown, const char* mangled, int unknown2, */ /* Experimentation reveals the following flag meanings when set: - * 0x0001 - Dont show __ in calling convention - * 0x0002 - Dont show calling convention at all - * 0x0004 - Dont show function/method return value + * 0x0001 - Don't show __ in calling convention + * 0x0002 - Don't show calling convention at all + * 0x0004 - Don't show function/method return value * 0x0010 - Same as 0x1 - * 0x0080 - Dont show access specifier (public/protected/private) - * 0x0200 - Dont show static specifier + * 0x0080 - Don't show access specifier (public/protected/private) + * 0x0200 - Don't show static specifier * 0x0800 - Unknown, passed by type_info::name() * 0x1000 - Only report the variable/class name * 0x2000 - Unknown, passed by type_info::name() diff --git a/dlls/ole32/clipboard.c b/dlls/ole32/clipboard.c index ac8a4d5c64e..0bee6453d7e 100644 --- a/dlls/ole32/clipboard.c +++ b/dlls/ole32/clipboard.c @@ -287,7 +287,7 @@ CHAR OLEClipbrd_WNDCLASS[] = "CLIPBRDWNDCLASS"; /* * If we need to store state info we can store it here. - * For now we dont need this functionality. + * For now we don't need this functionality. * typedef struct tagClipboardWindowInfo { @@ -733,8 +733,8 @@ static HWND OLEClipbrd_CreateWindow() wcex.cbSize = sizeof(WNDCLASSEXA); /* Windows creates this class with a style mask of 0 - * We dont bother doing this since the FindClassByAtom code - * would have to be changed to deal with this idiosyncracy. */ + * We don't bother doing this since the FindClassByAtom code + * would have to be changed to deal with this idiosyncrasy. */ wcex.style = CS_GLOBALCLASS; wcex.lpfnWndProc = (WNDPROC)OLEClipbrd_WndProc; wcex.hInstance = 0; @@ -748,7 +748,7 @@ static HWND OLEClipbrd_CreateWindow() /* * If we need to store state info we can store it here. - * For now we dont need this functionality. + * For now we don't need this functionality. * ClipboardWindowInfo clipboardInfo; * ZeroMemory( &trackerInfo, sizeof(ClipboardWindowInfo)); */ diff --git a/dlls/ole32/compositemoniker.c b/dlls/ole32/compositemoniker.c index 623421dfc8c..17a050f821c 100644 --- a/dlls/ole32/compositemoniker.c +++ b/dlls/ole32/compositemoniker.c @@ -648,7 +648,7 @@ HRESULT WINAPI CompositeMonikerImpl_BindToObject(IMoniker* iface, if (SUCCEEDED(res)){ - /* if the requested class was loaded befor ! we dont need to reload it */ + /* if the requested class was loaded before ! we don't need to reload it */ res = IRunningObjectTable_GetObject(prot,iface,(IUnknown**)ppvResult); if (res==S_OK) diff --git a/dlls/ole32/errorinfo.c b/dlls/ole32/errorinfo.c index fc4e99a3d46..e9256cd6ffc 100644 --- a/dlls/ole32/errorinfo.c +++ b/dlls/ole32/errorinfo.c @@ -57,7 +57,7 @@ static BSTR WINAPI ERRORINFO_SysAllocString(const OLECHAR* in) /* * Allocate a new buffer to hold the string. - * dont't forget to keep an empty spot at the beginning of the + * don't forget to keep an empty spot at the beginning of the * buffer for the character count and an extra character at the * end for the '\0'. */ diff --git a/dlls/ole32/filemoniker.c b/dlls/ole32/filemoniker.c index a098059f29e..117a2070c12 100644 --- a/dlls/ole32/filemoniker.c +++ b/dlls/ole32/filemoniker.c @@ -579,7 +579,7 @@ HRESULT WINAPI FileMonikerImpl_BindToObject(IMoniker* iface, res=IBindCtx_GetRunningObjectTable(pbc,&prot); if (SUCCEEDED(res)){ - /* if the requested class was loaded befor ! we dont need to reload it */ + /* if the requested class was loaded before ! we don't need to reload it */ res = IRunningObjectTable_GetObject(prot,iface,&pObj); if (res==S_FALSE){ diff --git a/dlls/oleaut32/oleaut.c b/dlls/oleaut32/oleaut.c index ebf08adc400..f673c482c8e 100644 --- a/dlls/oleaut32/oleaut.c +++ b/dlls/oleaut32/oleaut.c @@ -229,7 +229,7 @@ BSTR WINAPI SysAllocStringLen(const OLECHAR *str, unsigned int len) /* * Allocate a new buffer to hold the string. - * dont't forget to keep an empty spot at the beginning of the + * don't forget to keep an empty spot at the beginning of the * buffer for the character count and an extra character at the * end for the NULL. */ @@ -344,7 +344,7 @@ BSTR WINAPI SysAllocStringByteLen(LPCSTR str, UINT len) /* * Allocate a new buffer to hold the string. - * dont't forget to keep an empty spot at the beginning of the + * don't forget to keep an empty spot at the beginning of the * buffer for the character count and an extra character at the * end for the NULL. */ diff --git a/dlls/oleaut32/tests/vartest.c b/dlls/oleaut32/tests/vartest.c index da899f64586..f596125532a 100644 --- a/dlls/oleaut32/tests/vartest.c +++ b/dlls/oleaut32/tests/vartest.c @@ -3799,7 +3799,7 @@ static void test_VarFormatNumber(void) GetLocaleInfoA(LOCALE_USER_DEFAULT, LOCALE_SDECIMAL, buff, sizeof(buff)/sizeof(char)); if (buff[0] != '.' || buff[1]) { - trace("Skipping VarFormatNumber tests as decimal seperator is '%s'\n", buff); + trace("Skipping VarFormatNumber tests as decimal separator is '%s'\n", buff); return; } @@ -3962,7 +3962,7 @@ static void test_VarFormat(void) GetLocaleInfoA(LOCALE_USER_DEFAULT, LOCALE_SDECIMAL, buff, sizeof(buff)/sizeof(char)); if (buff[0] != '.' || buff[1]) { - trace("Skipping VarFormat tests as decimal seperator is '%s'\n", buff); + trace("Skipping VarFormat tests as decimal separator is '%s'\n", buff); return; } GetLocaleInfoA(LOCALE_USER_DEFAULT, LOCALE_IDIGITS, buff, sizeof(buff)/sizeof(char)); @@ -4122,7 +4122,7 @@ static void test_VarAbs(void) GetLocaleInfoA(LOCALE_USER_DEFAULT, LOCALE_SDECIMAL, buff, sizeof(buff)/sizeof(char)); if (buff[0] != '.' || buff[1]) { - trace("Skipping VarAbs(BSTR) as decimal seperator is '%s'\n", buff); + trace("Skipping VarAbs(BSTR) as decimal separator is '%s'\n", buff); return; } V_VT(&v) = VT_BSTR; diff --git a/dlls/oleaut32/tests/vartype.c b/dlls/oleaut32/tests/vartype.c index d7556a308ff..25bbee4d286 100644 --- a/dlls/oleaut32/tests/vartype.c +++ b/dlls/oleaut32/tests/vartype.c @@ -3206,7 +3206,7 @@ static void test_VarDateFromStr(void) /* 1 element - can only be a time, and only if it has am/pm */ DFS("1 am"); EXPECT_DBL(0.04166666666666666); /* 2 elements */ - /* A decimal point is treated as a time seperator. + /* A decimal point is treated as a time separator. * The following are converted as hours/minutes. */ DFS("0.1"); EXPECT_DBL(0.0006944444444444445); @@ -3255,7 +3255,7 @@ static void test_VarDateFromStr(void) DFS("Jan/35"); EXPECT_DBL(12785.0); DFS("35/Jan"); EXPECT_DBL(12785.0); /* 3 elements */ - /* 3 numbers and time seperator => h:m:s */ + /* 3 numbers and time separator => h:m:s */ DFS("0.1.0"); EXPECT_DBL(0.0006944444444444445); DFS("1.5.2"); EXPECT_DBL(0.04516203703703704); /* 3 numbers => picks date giving preference to lcid format */ @@ -4402,7 +4402,7 @@ static void test_VarBoolFromStr(void) if (HAVE_OLEAUT32_LOCALES) { /* Numeric strings are read as floating point numbers. The line below fails - * because '.' is not a valid decimal seperator for Polish numbers */ + * because '.' is not a valid decimal separator for Polish numbers */ CONVERT_STR(VarBoolFromStr,"0.1",0); EXPECT_MISMATCH; } @@ -4481,8 +4481,8 @@ static void test_VarBstrFromR4(void) if (bstr) { todo_wine { - /* MSDN states that rounding of R4/R8 is dependant on the underlying - * bit pattern of the number and so is architecture dependant. In this + /* MSDN states that rounding of R4/R8 is dependent on the underlying + * bit pattern of the number and so is architecture dependent. In this * case Wine returns .2 (which is more correct) and Native returns .3 */ ok(memcmp(bstr, szNative, sizeof(szNative)) == 0, "string different\n"); diff --git a/dlls/oleaut32/varformat.c b/dlls/oleaut32/varformat.c index 8389d7bf236..c23c7d9a503 100644 --- a/dlls/oleaut32/varformat.c +++ b/dlls/oleaut32/varformat.c @@ -88,11 +88,11 @@ static const WCHAR szPercentZeroStar_d[] = { '%','0','*','d','\0' }; *| True/False Localised text of "True" or "False" *| Yes/No Localised text of "Yes" or "No" *| On/Off Localised text of "On" or "Off" - *| General Number No thousands seperator. No decimal points for integers + *| General Number No thousands separator. No decimal points for integers *| Currency General currency format using localised characters *| Fixed At least one whole and two fractional digits - *| Standard As for 'Fixed', but including decimal seperators - *| Percent Multiply by 100 and dispaly a traling '%' character + *| Standard Same as 'Fixed', but including decimal separators + *| Percent Multiply by 100 and display a trailing '%' character *| Scientific Display with exponent * * User-defined formats consist of a combination of tokens and literal @@ -103,7 +103,7 @@ static const WCHAR szPercentZeroStar_d[] = { '%','0','*','d','\0' }; * (e.g. "\L\i\t\e\r\a\l") or enclosing it in double quotes. * * A user-defined format can have up to 4 sections, depending on the type of - * format, The following table lists sections and their meaning: + * format. The following table lists sections and their meaning: *| Format Type Sections Meaning *| ----------- -------- ------- *| Number 1 Use the same format for all numbers @@ -208,7 +208,7 @@ typedef struct tagFMT_STRING_HEADER #define FMT_FLAG_PERCENT 0x1 /* Has '%' (Percentage) */ #define FMT_FLAG_EXPONENT 0x2 /* Has 'e' (Exponent/Scientific notation) */ -#define FMT_FLAG_THOUSANDS 0x4 /* Has ',' (Standard use of the thousands seperator) */ +#define FMT_FLAG_THOUSANDS 0x4 /* Has ',' (Standard use of the thousands separator) */ #define FMT_FLAG_BOOL 0x20 /* Boolean format */ typedef struct tagFMT_NUMBER_HEADER @@ -238,8 +238,8 @@ typedef struct tagFMT_DATE_HEADER #define FMT_GEN_COPY 0x00 /* \n, "lit" => 0,pos,len: Copy len chars from input+pos */ #define FMT_GEN_INLINE 0x01 /* => 1,len,[chars]: Copy len chars from token stream */ #define FMT_GEN_END 0x02 /* \0,; => 2: End of the tokenised format */ -#define FMT_DATE_TIME_SEP 0x03 /* Time seperator char */ -#define FMT_DATE_DATE_SEP 0x04 /* Date seperator char */ +#define FMT_DATE_TIME_SEP 0x03 /* Time separator char */ +#define FMT_DATE_DATE_SEP 0x04 /* Date separator char */ #define FMT_DATE_GENERAL 0x05 /* General format date */ #define FMT_DATE_QUARTER 0x06 /* Quarter of the year from 1-4 */ #define FMT_DATE_TIME_SYS 0x07 /* System long time format */ @@ -278,7 +278,7 @@ typedef struct tagFMT_DATE_HEADER #define FMT_DATE_A_LOWER 0x33 /* Lower-case A or P */ #define FMT_NUM_COPY_ZERO 0x34 /* Copy 1 digit or 0 if no digit */ #define FMT_NUM_COPY_SKIP 0x35 /* Copy 1 digit or skip if no digit */ -#define FMT_NUM_DECIMAL 0x36 /* Decimal seperator */ +#define FMT_NUM_DECIMAL 0x36 /* Decimal separator */ #define FMT_NUM_EXP_POS_U 0x37 /* Scientific notation, uppercase, + sign */ #define FMT_NUM_EXP_NEG_U 0x38 /* Scientific notation, lowercase, - sign */ #define FMT_NUM_EXP_POS_L 0x39 /* Scientific notation, uppercase, + sign */ @@ -481,7 +481,7 @@ static inline const BYTE *VARIANT_GetNamedFormat(LPCWSTR lpszFormat) /* State during tokenising */ #define FMT_STATE_OPEN_COPY 0x1 /* Last token written was a copy */ -#define FMT_STATE_WROTE_DECIMAL 0x2 /* Already wrote a decimal seperator */ +#define FMT_STATE_WROTE_DECIMAL 0x2 /* Already wrote a decimal separator */ #define FMT_STATE_SEEN_HOURS 0x4 /* See the hh specifier */ #define FMT_STATE_WROTE_MINUTES 0x8 /* Wrote minutes */ @@ -624,7 +624,7 @@ HRESULT WINAPI VarTokenizeFormatString(LPOLESTR lpszFormat, LPBYTE rgbTok, else if (*pFormat == '"') { /* Escaped string - * Note: Native encodes "" as a copy of length zero. Thats just dumb, so + * Note: Native encodes "" as a copy of length zero. That's just dumb, so * here we avoid encoding anything in this case. */ if (!pFormat[1]) @@ -701,7 +701,7 @@ HRESULT WINAPI VarTokenizeFormatString(LPOLESTR lpszFormat, LPBYTE rgbTok, else if (*pFormat == '.' && COULD_BE(FMT_TYPE_NUMBER) && !(fmt_state & FMT_STATE_WROTE_DECIMAL)) { - /* Number formats: Decimal seperator when 1st seen, literal thereafter + /* Number formats: Decimal separator when 1st seen, literal thereafter * Other formats: Literal * Types the format if found */ @@ -717,7 +717,7 @@ HRESULT WINAPI VarTokenizeFormatString(LPOLESTR lpszFormat, LPBYTE rgbTok, /* FIXME: %% => Divide by 1000 */ else if (*pFormat == ',' && header->type == FMT_TYPE_NUMBER) { - /* Number formats: Use the thousands seperator + /* Number formats: Use the thousands separator * Other formats: Literal */ num_header->flags |= FMT_FLAG_THOUSANDS; @@ -731,7 +731,7 @@ HRESULT WINAPI VarTokenizeFormatString(LPOLESTR lpszFormat, LPBYTE rgbTok, */ else if (*pFormat == '/' && COULD_BE(FMT_TYPE_DATE)) { - /* Date formats: Date seperator + /* Date formats: Date separator * Other formats: Literal * Types the format if found */ @@ -744,7 +744,7 @@ HRESULT WINAPI VarTokenizeFormatString(LPOLESTR lpszFormat, LPBYTE rgbTok, } else if (*pFormat == ':' && COULD_BE(FMT_TYPE_DATE)) { - /* Date formats: Time seperator + /* Date formats: Time separator * Other formats: Literal * Types the format if found */ @@ -1159,7 +1159,7 @@ HRESULT WINAPI VarTokenizeFormatString(LPOLESTR lpszFormat, LPBYTE rgbTok, } /* Number formatting state flags */ -#define NUM_WROTE_DEC 0x01 /* Written the decimal seperator */ +#define NUM_WROTE_DEC 0x01 /* Written the decimal separator */ /* Format a variant using a number format */ static HRESULT VARIANT_FormatNumber(LPVARIANT pVarIn, LPOLESTR lpszFormat, @@ -1347,7 +1347,7 @@ VARIANT_FormatNumber_Bool: break; case FMT_NUM_DECIMAL: - TRACE("write decimal seperator\n"); + TRACE("write decimal separator\n"); localeValue = LOCALE_SDECIMAL; defaultChar = '.'; dwState |= NUM_WROTE_DEC; @@ -1552,13 +1552,13 @@ static HRESULT VARIANT_FormatDate(LPVARIANT pVarIn, LPOLESTR lpszFormat, break; case FMT_DATE_TIME_SEP: - TRACE("time seperator\n"); + TRACE("time separator\n"); localeValue = LOCALE_STIME; defaultChar = ':'; break; case FMT_DATE_DATE_SEP: - TRACE("date seperator\n"); + TRACE("date separator\n"); localeValue = LOCALE_SDATE; defaultChar = '/'; break; diff --git a/dlls/oleaut32/variant.c b/dlls/oleaut32/variant.c index 512ccd37d9a..ee2ce5e72df 100644 --- a/dlls/oleaut32/variant.c +++ b/dlls/oleaut32/variant.c @@ -1829,7 +1829,7 @@ HRESULT WINAPI VarParseNumFromStr(OLECHAR *lpszStr, LCID lcid, ULONG dwFlags, HRESULT WINAPI VarNumFromParseNum(NUMPARSE *pNumprs, BYTE *rgbDig, ULONG dwVtBits, VARIANT *pVarDst) { - /* Scale factors and limits for double arithmatic */ + /* Scale factors and limits for double arithmetic */ static const double dblMultipliers[11] = { 1.0, 10.0, 100.0, 1000.0, 10000.0, 100000.0, 1000000.0, 10000000.0, 100000000.0, 1000000000.0, 10000000000.0 @@ -1937,7 +1937,7 @@ HRESULT WINAPI VarNumFromParseNum(NUMPARSE *pNumprs, BYTE *rgbDig, } /* If we have any fractional digits, round the value. - * Note we dont have to do this if divisor10 is < 1, + * Note we don't have to do this if divisor10 is < 1, * because this means the fractional part must be < 0.5 */ if (!bOverflow && fractionalDigits && divisor10 > 0) @@ -2420,7 +2420,7 @@ HRESULT WINAPI VarCmp(LPVARIANT left, LPVARIANT right, LCID lcid, DWORD flags) return VARCMP_GT; } } - FIXME("VarCmp partial implementation, doesnt support vt 0x%x / 0x%x\n",V_VT(left), V_VT(right)); + FIXME("VarCmp partial implementation, doesn't support vt 0x%x / 0x%x\n",V_VT(left), V_VT(right)); return E_FAIL; } diff --git a/dlls/oleaut32/vartype.c b/dlls/oleaut32/vartype.c index f3baa58723d..f720a0b1325 100644 --- a/dlls/oleaut32/vartype.c +++ b/dlls/oleaut32/vartype.c @@ -4282,7 +4282,7 @@ static HRESULT VARIANT_DecScale(const DECIMAL** ppDecLeft, /* Multiply up the value to be scaled by the correct amount */ while (SUCCEEDED(hRet) && i--) { - /* Note we are multiplying by a value with a scale of 0, so we dont recurse */ + /* Note we are multiplying by a value with a scale of 0, so we don't recurse */ hRet = VarDecMul(&decTemp, &scaleFactor, pDecOut); decTemp = *pDecOut; } @@ -5863,8 +5863,8 @@ HRESULT WINAPI VarDateFromCy(CY cyIn, DATE* pdateOut) } /* Date string parsing */ -#define DP_TIMESEP 0x01 /* Time seperator ( _must_ remain 0x1, used as a bitmask) */ -#define DP_DATESEP 0x02 /* Date seperator */ +#define DP_TIMESEP 0x01 /* Time separator ( _must_ remain 0x1, used as a bitmask) */ +#define DP_DATESEP 0x02 /* Date separator */ #define DP_MONTH 0x04 /* Month name */ #define DP_AM 0x08 /* AM */ #define DP_PM 0x10 /* PM */ @@ -5972,7 +5972,7 @@ VARIANT_MakeDate_Start: } else if (dwCount == 1) { - /* Second: Try all the orders compatable with iDate */ + /* Second: Try all the orders compatible with iDate */ switch (iDate) { case 0: dwTry = dwAllOrders & ~(ORDER_DMY|ORDER_YDM); break; @@ -6098,9 +6098,9 @@ VARIANT_MakeDate_OK: * Any date format that can be created using the date formats from lcid * (Either from kernel Nls functions, variant conversion or formatting) is a * valid input to this function. In addition, a few more esoteric formats are - * also supported for compatability with the native version. The date is + * also supported for compatibility with the native version. The date is * interpreted according to the date settings in the control panel, unless - * the date is invalid in that format, in which the most compatable format + * the date is invalid in that format, in which the most compatible format * that produces a valid date will be used. */ HRESULT WINAPI VarDateFromStr(OLECHAR* strIn, LCID lcid, ULONG dwFlags, DATE* pdateOut) @@ -6276,7 +6276,7 @@ HRESULT WINAPI VarDateFromStr(OLECHAR* strIn, LCID lcid, ULONG dwFlags, DATE* pd /* Figure out which numbers correspond to which fields. * * This switch statement works based on the fact that native interprets any - * fields that are not joined with a time seperator ('.' or ':') as date + * fields that are not joined with a time separator ('.' or ':') as date * fields. Thus we construct a value from 0-32 where each set bit indicates * a time field. This encapsulates the hundreds of permutations of 2-6 fields. * For valid permutations, we set dwOffset to point to the first date field diff --git a/dlls/shell32/pidl.h b/dlls/shell32/pidl.h index d28f8f095ff..6868e0ade96 100644 --- a/dlls/shell32/pidl.h +++ b/dlls/shell32/pidl.h @@ -57,11 +57,11 @@ * network 0x1F mycomp * bitbucket 0x1F mycomp * drive 0x23/25 drive (usual) -* drive 0x25/25 drive (lnk/persistant) +* drive 0x25/25 drive (lnk/persistent) * drive 0x29/25 drive * shell extension 0x2E mycomp -* drive 0x2F drive (lnk/persistant) -* folder/file 0x30 folder/file (1) (lnk/persistant) +* drive 0x2F drive (lnk/persistent) +* folder/file 0x30 folder/file (1) (lnk/persistent) * folder 0x31 folder (usual) * valueA 0x32 file (ANSI file name) * valueW 0x34 file (Unicode file name) @@ -73,7 +73,7 @@ * history/favorites 0xb1 file * share 0xc3 network (6) * -* guess: the persistant elements are non tracking +* guess: the persistent elements are non tracking * * (1) dummy byte is used, attributes are empty * (2) IID_MyComputer = 20D04FE0L-3AEA-1069-A2D8-08002B30309D diff --git a/dlls/shell32/shlexec.c b/dlls/shell32/shlexec.c index 8f8c56b0418..4026fc5b3ed 100644 --- a/dlls/shell32/shlexec.c +++ b/dlls/shell32/shlexec.c @@ -273,7 +273,7 @@ static UINT SHELL_FindExecutable(LPCSTR lpPath, LPCSTR lpFile, LPCSTR lpOperatio LPSTR lpResult, LPSTR key, void **env) { char *extension = NULL; /* pointer to file extension */ - char tmpext[5]; /* local copy to mung as we please */ + char tmpext[5]; /* local copy to munge as we please */ char filetype[256]; /* registry name for this filetype */ LONG filetypelen = 256; /* length of above */ char command[256]; /* command from registry */ diff --git a/dlls/shell32/shlmenu.c b/dlls/shell32/shlmenu.c index a8cb6d4c5d8..9b33c541bf2 100644 --- a/dlls/shell32/shlmenu.c +++ b/dlls/shell32/shlmenu.c @@ -427,7 +427,7 @@ int WINAPI FileMenu_InsertUsingPidl ( /************************************************************************* * FileMenu_ReplaceUsingPidl [SHELL32.113] * - * FIXME: the static items are deleted but wont be refreshed + * FIXME: the static items are deleted but won't be refreshed */ int WINAPI FileMenu_ReplaceUsingPidl( HMENU hmenu, diff --git a/dlls/shlwapi/path.c b/dlls/shlwapi/path.c index 388d3b9b0da..92b2843330d 100644 --- a/dlls/shlwapi/path.c +++ b/dlls/shlwapi/path.c @@ -2974,7 +2974,7 @@ BOOL WINAPI PathMakeSystemFolderW(LPCWSTR lpszPath) if (!lpszPath || !*lpszPath) return FALSE; - /* If the directory is already a system directory, dont do anything */ + /* If the directory is already a system directory, don't do anything */ GetSystemDirectoryW(buff, MAX_PATH); if (!strcmpW(buff, lpszPath)) return TRUE; diff --git a/dlls/user/resource.c b/dlls/user/resource.c index e453ecea77f..daf6350f96f 100644 --- a/dlls/user/resource.c +++ b/dlls/user/resource.c @@ -348,7 +348,7 @@ INT16 WINAPI LoadString16( HINSTANCE16 instance, UINT16 resource_id, buffer[0] = '\0'; return 0; } - WARN("Dont know why caller give buflen=%d *p=%d trying to obtain string '%s'\n", buflen, *p, p + 1); + WARN("Don't know why caller gave buflen=%d *p=%d trying to obtain string '%s'\n", buflen, *p, p + 1); } FreeResource16( hmem ); @@ -399,7 +399,7 @@ INT WINAPI LoadStringW( HINSTANCE instance, UINT resource_id, return 0; } #if 0 - WARN("Dont know why caller give buflen=%d *p=%d trying to obtain string '%s'\n", buflen, *p, p + 1); + WARN("Don't know why caller gave buflen=%d *p=%d trying to obtain string '%s'\n", buflen, *p, p + 1); #endif } diff --git a/dlls/uxtheme/system.c b/dlls/uxtheme/system.c index ba9f6bea2f0..bdb5dd151e2 100644 --- a/dlls/uxtheme/system.c +++ b/dlls/uxtheme/system.c @@ -161,7 +161,7 @@ BOOL WINAPI IsThemeActive(void) * EnableTheming (UXTHEME.@) * * NOTES - * This is a global and persistant change + * This is a global and persistent change */ HRESULT WINAPI EnableTheming(BOOL fEnable) { @@ -228,7 +228,7 @@ HRESULT UXTHEME_SetWindowProperty(HWND hwnd, ATOM aProp, LPCWSTR pszValue) /*********************************************************************** * SetWindowTheme (UXTHEME.@) * - * Persistant through the life of the window, even after themes change + * Persistent through the life of the window, even after themes change */ HRESULT WINAPI SetWindowTheme(HWND hwnd, LPCWSTR pszSubAppName, LPCWSTR pszSubIdList) @@ -396,9 +396,9 @@ HRESULT WINAPI ApplyTheme(HTHEMEFILE hThemeFile, char *unknown, HWND hWnd) * * PARAMS * pszThemeFileName Path to a msstyles theme file - * pszColorName Buffer to recieve the default color name + * pszColorName Buffer to receive the default color name * dwColorNameLen Length, in characters, of color name buffer - * pszSizeName Buffer to recieve the default size name + * pszSizeName Buffer to receive the default size name * dwSizeNameLen Length, in characters, of size name buffer */ HRESULT WINAPI GetThemeDefaults(LPCWSTR pszThemeFileName, LPWSTR pszColorName, diff --git a/dlls/uxtheme/uxthemedll.h b/dlls/uxtheme/uxthemedll.h index a2a6cc5052a..3c0940d2384 100644 --- a/dlls/uxtheme/uxthemedll.h +++ b/dlls/uxtheme/uxthemedll.h @@ -60,7 +60,7 @@ typedef BOOL (CALLBACK *EnumThemeProc)(LPVOID lpReserved, LPCWSTR pszThemeFileNa * lpData Value passed through lpData from ParseThemeIniFile * * NOTES - * I dont know what the valid entry types are + * I don't know what the valid entry types are */ typedef BOOL (CALLBACK*ParseThemeIniFileProc)(DWORD dwType, LPWSTR pszParam1, LPWSTR pszParam2, LPWSTR pszParam3, diff --git a/dlls/winedos/int10.c b/dlls/winedos/int10.c index 17933939da3..796b30cd9d7 100644 --- a/dlls/winedos/int10.c +++ b/dlls/winedos/int10.c @@ -987,7 +987,7 @@ static void INT10_HandleVESA( CONTEXT86 *context ) break; case 0xff: /* Turn VESA ON/OFF */ - /* i dont know what to do */ + /* I don't know what to do */ break; default: @@ -1024,8 +1024,8 @@ static void INT10_HandleVESA( CONTEXT86 *context ) * * Jess Haas 2/99 * Added support for Vesa. It is not complete but is a start. - * NOTE: Im not sure if i did all this right or if eny of it works. - * Currently i dont have a program that uses Vesa that actually gets far + * NOTE: Im not sure if I did all this right or if any of it works. + * Currently I don't have a program that uses Vesa that actually gets far * enough without crashing to do vesa stuff. * * Added additional vga graphic support - 3/99 diff --git a/dlls/winmm/wineaudioio/audio.c b/dlls/winmm/wineaudioio/audio.c index 0c30aad33ae..d0f45fe56ef 100644 --- a/dlls/winmm/wineaudioio/audio.c +++ b/dlls/winmm/wineaudioio/audio.c @@ -22,9 +22,10 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * - * Note large hacks done to effectively disable DSound altogether - * Also Input is not yet working (Lots more work to be done there) - * But this does make a reasonable output driver for solaris untill the arts driver comes up to speed + * Note large hacks done to effectively disable DSound altogether + * Also Input is not yet working (Lots more work to be done there) + * But this does make a reasonable output driver for solaris until the arts + * driver comes up to speed */ /* @@ -248,9 +249,9 @@ LONG LIBAUDIOIO_WaveInit(void) WOutDev[0].caps.dwSupport = WAVECAPS_VOLUME; /* - * Libaudioio works differently, you tell it what spec audio you want to write and it - * Guarantees to match it by converting to the final format on the fly - *So we dont need to read back and compare + * Libaudioio works differently, you tell it what spec audio you want to write + * and it guarantees to match it by converting to the final format on the fly. + * So we don't need to read back and compare. */ bytespersmpl = spec[PLAYBACK].precision/8; @@ -273,7 +274,7 @@ LONG LIBAUDIOIO_WaveInit(void) if (WOutDev[0].caps.wChannels > 1) WOutDev[0].caps.dwFormats |= WAVE_FORMAT_4S16; -/* Don't understand this yet, but I dont think this functionality is portable, leave here for future evaluation +/* Don't understand this yet, but I don't think this functionality is portable, leave it here for future evaluation * if (IOCTL(audio, SNDCTL_DSP_GETCAPS, caps) == 0) { * TRACE("OSS dsp out caps=%08X\n", caps); * if ((caps & DSP_CAP_REALTIME) && !(caps & DSP_CAP_BATCH)) { diff --git a/dlls/winmm/winemm.h b/dlls/winmm/winemm.h index 181edfa4a79..12f1642b0b9 100644 --- a/dlls/winmm/winemm.h +++ b/dlls/winmm/winemm.h @@ -70,7 +70,7 @@ typedef struct tagWINE_MM_DRIVER_PART { int nIDMin; /* lower bound of global indexes for this type */ int nIDMax; /* hhigher bound of global indexes for this type */ union { - WINEMM_msgFunc32 fnMessage32; /* pointer to fonction */ + WINEMM_msgFunc32 fnMessage32; /* pointer to function */ WINEMM_msgFunc16 fnMessage16; } u; } WINE_MM_DRIVER_PART; diff --git a/dlls/winspool/info.c b/dlls/winspool/info.c index f58f6611a8e..5dd9645fb32 100644 --- a/dlls/winspool/info.c +++ b/dlls/winspool/info.c @@ -2136,8 +2136,8 @@ static BOOL WINSPOOL_EnumPrinters(DWORD dwType, LPWSTR lpszName, return TRUE; if (dwType & PRINTER_ENUM_CONNECTIONS) { - FIXME("We dont handle PRINTER_ENUM_CONNECTIONS\n"); - dwType &= ~PRINTER_ENUM_CONNECTIONS; /* we dont handle that */ + FIXME("We don't handle PRINTER_ENUM_CONNECTIONS\n"); + dwType &= ~PRINTER_ENUM_CONNECTIONS; /* we don't handle that */ if(!dwType) return TRUE; } diff --git a/dlls/x11drv/xfont.c b/dlls/x11drv/xfont.c index 63b31fcc2fd..7b5e3d3f176 100644 --- a/dlls/x11drv/xfont.c +++ b/dlls/x11drv/xfont.c @@ -501,7 +501,7 @@ static void LFD_UnParse(LPSTR dp, UINT buf_size, LFD* lfd) int i; if (!buf_size) - return; /* Dont be silly */ + return; /* Don't be silly */ lfd_fld[0] = lfd->foundry; lfd_fld[1] = lfd->family; @@ -2520,7 +2520,7 @@ static UINT XFONT_Match( fontMatch* pfm ) else { ERR("PixHeight == InternalLeading\n"); - penalty += 0x1000; /* dont want this */ + penalty += 0x1000; /* don't want this */ } } } diff --git a/documentation/getting.sgml b/documentation/getting.sgml index 463405c1e79..c354df3be11 100644 --- a/documentation/getting.sgml +++ b/documentation/getting.sgml @@ -182,7 +182,7 @@ Often a package will only work on the distribution which it has been compiled for. We'll cover Debian Linux, - Red Hat, Mandrake, Suse and Slackware Linux, + Red Hat, Mandrake, SuSE and Slackware Linux, FreeBSD, and other distributions. @@ -268,10 +268,10 @@ - Linux Red Hat, Mandrake, Suse, and Slackware + Linux Red Hat, Mandrake, SuSE, and Slackware - Red Hat, Mandrake, Suse and Slackware users can download + Red Hat, Mandrake, SuSE and Slackware users can download a wine binary from the sourceforge.net Wine download page @@ -320,7 +320,7 @@ linkend="config-wine-main">Configuration section. - You can also download a Freebsd package of wine from the + You can also download a FreeBSD package of wine from the sourceforge.net Wine download page diff --git a/files/file.c b/files/file.c index e808ec6c031..4857181d059 100644 --- a/files/file.c +++ b/files/file.c @@ -1782,7 +1782,7 @@ BOOL WINAPI MoveFileExW( LPCWSTR fn1, LPCWSTR fn2, DWORD flag ) /* FIXME: sparhawk@gmx.at In case of W9x and lesser this function should return 120 (ERROR_CALL_NOT_IMPLEMENTED) - to be really compatible. Most programs wont have any problems though. In case + to be really compatible. Most programs won't have any problems though. In case you encounter one, this is what you should return here. I don't know what's up with NT 3.5. Is this function available there or not? Does anybody really care about 3.5? :) diff --git a/include/shlwapi.h b/include/shlwapi.h index 62a2288fe9c..47078652ddf 100644 --- a/include/shlwapi.h +++ b/include/shlwapi.h @@ -190,7 +190,7 @@ enum ASSOCF_VERIFY = 0x040, /* Verify data */ ASSOCF_REMAPRUNDLL = 0x080, /* Get rundll args */ ASSOCF_NOFIXUPS = 0x100, /* Don't fixup errors */ - ASSOCF_IGNOREBASECLASS = 0x200, /* Dont read baseclass */ + ASSOCF_IGNOREBASECLASS = 0x200, /* Don't read baseclass */ }; typedef DWORD ASSOCF; diff --git a/programs/wcmd/wcmdmain.c b/programs/wcmd/wcmdmain.c index 13b89e1b629..36ae25e5e65 100644 --- a/programs/wcmd/wcmdmain.c +++ b/programs/wcmd/wcmdmain.c @@ -286,7 +286,7 @@ void WCMD_process_command (char *command) return; } - /* Dont issue newline WCMD_output (newline); @JED*/ + /* Don't issue newline WCMD_output (newline); @JED*/ sa.nLength = sizeof(sa); sa.lpSecurityDescriptor = NULL; diff --git a/tools/c2man.pl b/tools/c2man.pl index 0dab3bf5ca6..cf3eb38471f 100755 --- a/tools/c2man.pl +++ b/tools/c2man.pl @@ -620,7 +620,7 @@ sub process_comment { my $comment = shift(@_); - # Don't process this comment if the function isnt exported + # Don't process this comment if the function isn't exported my $spec_details = $spec_files{$comment->{DLL_NAME}}[0]; if (!defined($spec_details)) @@ -793,7 +793,7 @@ sub process_comment { if ( !/^[A-Z]+$/ ) { - # Dont reject comments that refer to another doc (e.g. A/W) + # Don't reject comments that refer to another doc (e.g. A/W) if ( /^See ([A-Za-z0-9_]+)\.$/ ) { if ($comment->{COMMENT_NAME} =~ /W$/ ) diff --git a/tools/winedump/README b/tools/winedump/README index 0e910bb3987..cd19a482b97 100644 --- a/tools/winedump/README +++ b/tools/winedump/README @@ -507,7 +507,7 @@ winedump foo -c -I "inc/*.h" -v | grep FIXME | sort | uniq > fixup.h By adding '#include "fixup.h"' to foobar_dll.h your compile errors will be greatly reduced. -If winedump encounters a type it doesnt know that is passed by value (as in +If winedump encounters a type it doesn't know that is passed by value (as in the _cabs example above), it also prints a FIXME message like: /* FIXME: By value type: Assumed 'int' */ typedef int ldiv_t; @@ -634,7 +634,7 @@ prototype. The more examples I have the easier it is to decypher the scheme, and generating them myself is very slow. Finally, although it is easy to generate a DLL, I _very strongly_ suggest that -you dont submit a generated DLL for inclusion into Wine unless you have +you don't submit a generated DLL for inclusion into Wine unless you have actually implemented a fairly reasonable portion of it. Even then, you should only send the portions of the DLL you have implemented. Thousands of lines of stub code don't help the project at all. diff --git a/tools/wineinstall b/tools/wineinstall index 04663a6519e..1856cd1bdd6 100755 --- a/tools/wineinstall +++ b/tools/wineinstall @@ -286,7 +286,7 @@ then { sucommand="$sucommand;echo $libdir>>/etc/ld.so.conf" } fi - # run ldconfig always just in case some updated files dont get linked + # run ldconfig always just in case some updated files don't get linked sucommand="$sucommand;$ac_cv_path_LDCONFIG" fi }