cleanup patch
Andreas Mohr
a.mohr at mailto.de
Fri Apr 20 11:54:40 CDT 2001
Hi all,
some more spelling fixes.
Andreas Mohr
-------------- next part --------------
Determining best CVS host...
Using CVSROOT :pserver:cvs at winehq.tiepmiep.dk:/home/wine
Index: debugger/ext_debugger.c
===================================================================
RCS file: /home/wine/wine/debugger/ext_debugger.c,v
retrieving revision 1.1
diff -u -r1.1 ext_debugger.c
--- debugger/ext_debugger.c 2000/12/06 03:20:47 1.1
+++ debugger/ext_debugger.c 2001/04/20 17:42:21
@@ -78,7 +78,7 @@
dbg_sleep_secs = DBG_SLEEPTIME_DEFAULT;
}
- /* get the curent process id */
+ /* get the current process id */
attach_pid = getpid();
/* create new process */
Index: files/drive.c
===================================================================
RCS file: /home/wine/wine/files/drive.c,v
retrieving revision 1.53
diff -u -r1.53 drive.c
--- files/drive.c 2001/04/04 00:21:05 1.53
+++ files/drive.c 2001/04/20 17:42:23
@@ -1069,7 +1069,7 @@
/***********************************************************************
* GetDiskFreeSpaceExA (KERNEL32.871)
*
- * This function is used to aquire the size of the available and
+ * This function is used to acquire the size of the available and
* total space on a logical volume.
*
* RETURNS
Index: dlls/comctl32/animate.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/animate.c,v
retrieving revision 1.32
diff -u -r1.32 animate.c
--- dlls/comctl32/animate.c 2001/01/26 20:43:40 1.32
+++ dlls/comctl32/animate.c 2001/04/20 17:42:24
@@ -361,17 +361,19 @@
if(GetWindowLongA(infoPtr->hWnd, GWL_STYLE) & ACS_TRANSPARENT)
{
hDC = GetDC(infoPtr->hWnd);
+ /* sometimes the animation window will be destroyed in between
+ * by the main program, so a ReleaseDC() error msg is possible */
infoPtr->hbrushBG = SendMessageA(GetParent(infoPtr->hWnd),WM_CTLCOLORSTATIC,hDC, infoPtr->hWnd);
ReleaseDC(infoPtr->hWnd,hDC);
}
- EnterCriticalSection(&infoPtr->cs);
- ANIMATE_DrawFrame(infoPtr);
- LeaveCriticalSection(&infoPtr->cs);
+ EnterCriticalSection(&infoPtr->cs);
+ ANIMATE_DrawFrame(infoPtr);
+ LeaveCriticalSection(&infoPtr->cs);
/* time is in microseconds, we should convert it to milliseconds */
Sleep((infoPtr->mah.dwMicroSecPerFrame+500)/1000);
-}
+ }
return TRUE;
}
Index: dlls/ole32/bindctx.c
===================================================================
RCS file: /home/wine/wine/dlls/ole32/bindctx.c,v
retrieving revision 1.7
diff -u -r1.7 bindctx.c
--- dlls/ole32/bindctx.c 2001/02/28 05:31:03 1.7
+++ dlls/ole32/bindctx.c 2001/04/20 17:42:24
@@ -267,7 +267,7 @@
IUnknown_Release(This->bindCtxTable[index].pObj);
- /* left-shift all elements in the rigth side of the curent revoked object */
+ /* left-shift all elements in the right side of the current revoked object */
for(j=index; j<This->bindCtxTableLastIndex-1; j++)
This->bindCtxTable[j]= This->bindCtxTable[j+1];
Index: dlls/ole32/compositemoniker.c
===================================================================
RCS file: /home/wine/wine/dlls/ole32/compositemoniker.c,v
retrieving revision 1.8
diff -u -r1.8 compositemoniker.c
--- dlls/ole32/compositemoniker.c 2001/02/28 05:31:03 1.8
+++ dlls/ole32/compositemoniker.c 2001/04/20 17:42:26
@@ -114,7 +114,7 @@
static ULONG WINAPI EnumMonikerImpl_AddRef(IEnumMoniker* iface);
static ULONG WINAPI EnumMonikerImpl_Release(IEnumMoniker* iface);
-/* IEnumMonker prototype functions */
+/* IEnumMoniker prototype functions */
static HRESULT WINAPI EnumMonikerImpl_Next(IEnumMoniker* iface,ULONG celt,IMoniker** rgelt,ULONG* pceltFetched);
static HRESULT WINAPI EnumMonikerImpl_Skip(IEnumMoniker* iface,ULONG celt);
static HRESULT WINAPI EnumMonikerImpl_Reset(IEnumMoniker* iface);
@@ -727,7 +727,7 @@
else{
- /* separate the copmosite moniker in to left and wrigth moniker */
+ /* separate the composite moniker in to left and right moniker */
IMoniker_Enum(iface,FALSE,&enumMoniker);
IEnumMoniker_Next(enumMoniker,1,&mostRigthMk,NULL);
IEnumMoniker_Release(enumMoniker);
@@ -1184,7 +1184,7 @@
*restMk=0;
/* to create an enumerator for pGenMk with current position pointed on the first element after common */
- /* prefix: enum the two monikers (left-wrigth) then compare these enumerations (left-wrigth) and stop */
+ /* prefix: enum the two monikers (left-right) then compare these enumerations (left-right) and stop */
/* on the first difference. */
IMoniker_Enum(pGenMk,TRUE,&enumMoniker1);
@@ -1385,12 +1385,12 @@
/* This method recursively calls IMoniker::ParseDisplayName on the rightmost component of the composite,*/
/* passing everything else as the pmkToLeft parameter for that call. */
- /* get the most rigth moniker */
+ /* get the most right moniker */
IMoniker_Enum(iface,FALSE,&enumMoniker);
IEnumMoniker_Next(enumMoniker,1,&mostRigthMk,NULL);
IEnumMoniker_Release(enumMoniker);
- /* get the left moniker */
+ /* get the left moniker */
CreateAntiMoniker(&antiMk);
IMoniker_ComposeWith(iface,antiMk,0,&tempMk);
IMoniker_Release(antiMk);
@@ -1399,7 +1399,7 @@
}
/******************************************************************************
- * CompositeMoniker_IsSystemMonker
+ * CompositeMoniker_IsSystemMoniker
******************************************************************************/
HRESULT WINAPI CompositeMonikerImpl_IsSystemMoniker(IMoniker* iface,DWORD* pwdMksys)
{
Index: dlls/ole32/filemoniker.c
===================================================================
RCS file: /home/wine/wine/dlls/ole32/filemoniker.c,v
retrieving revision 1.9
diff -u -r1.9 filemoniker.c
--- dlls/ole32/filemoniker.c 2001/02/28 05:31:03 1.9
+++ dlls/ole32/filemoniker.c 2001/04/20 17:42:27
@@ -1237,7 +1237,7 @@
}
/******************************************************************************
- * FileMoniker_IsSystemMonker
+ * FileMoniker_IsSystemMoniker
******************************************************************************/
HRESULT WINAPI FileMonikerImpl_IsSystemMoniker(IMoniker* iface,DWORD* pwdMksys)
{
Index: dlls/ole32/antimoniker.c
===================================================================
RCS file: /home/wine/wine/dlls/ole32/antimoniker.c,v
retrieving revision 1.5
diff -u -r1.5 antimoniker.c
--- dlls/ole32/antimoniker.c 2001/02/28 05:31:03 1.5
+++ dlls/ole32/antimoniker.c 2001/04/20 17:42:27
@@ -555,7 +555,7 @@
}
/******************************************************************************
- * AntiMoniker_IsSystemMonker
+ * AntiMoniker_IsSystemMoniker
******************************************************************************/
HRESULT WINAPI AntiMonikerImpl_IsSystemMoniker(IMoniker* iface,DWORD* pwdMksys)
{
Index: dlls/ole32/itemmoniker.c
===================================================================
RCS file: /home/wine/wine/dlls/ole32/itemmoniker.c,v
retrieving revision 1.7
diff -u -r1.7 itemmoniker.c
--- dlls/ole32/itemmoniker.c 2001/02/28 05:31:03 1.7
+++ dlls/ole32/itemmoniker.c 2001/04/20 17:42:28
@@ -876,7 +876,7 @@
}
/******************************************************************************
- * ItemMoniker_IsSystemMonker
+ * ItemMoniker_IsSystemMoniker
******************************************************************************/
HRESULT WINAPI ItemMonikerImpl_IsSystemMoniker(IMoniker* iface,DWORD* pwdMksys)
{
Index: objects/dib.c
===================================================================
RCS file: /home/wine/wine/objects/dib.c,v
retrieving revision 1.51
diff -u -r1.51 dib.c
--- objects/dib.c 2001/02/14 23:11:19 1.51
+++ objects/dib.c 2001/04/20 17:42:29
@@ -362,7 +362,7 @@
/* FIXME the following two structs should be combined with __sysPalTemplate in
objects/color.c - this should happen after de-X11-ing both of these
files.
- NB. RGBQUAD and PALETTENTRY have different orderings of red, green
+ NB. RGBQUAD and PALETTEENTRY have different orderings of red, green
and blue - sigh */
static RGBQUAD EGAColors[16] = {
@@ -519,7 +519,7 @@
if (bits && lines)
{
- /* If the bitmap object already have a dib section that contains image data, get the bits from it*/
+ /* If the bitmap object already have a dib section that contains image data, get the bits from it */
if(bmp->dib && bmp->dib->dsBm.bmBitsPixel >= 15 && info->bmiHeader.biBitCount >= 15)
{
/*FIXME: Only RGB dibs supported for now */
Index: tools/wineconf
===================================================================
RCS file: /home/wine/wine/tools/wineconf,v
retrieving revision 1.8
diff -u -r1.8 wineconf
--- tools/wineconf 2001/02/14 21:45:12 1.8
+++ tools/wineconf 2001/04/20 17:42:30
@@ -9,7 +9,7 @@
# This program examines the contents of the DOS filesystems and
# attempts to generate a sensible wine.conf file. This is output
# to STDOUT.
-# It reads /etc/FSTAB to find mounting locations of the hard disk drives
+# It reads /etc/fstab to find mounting locations of the hard disk drives
# It uses the correct algorithm for ordering DOS drives, with the
# exception of the case of multiple drive controller types, where I don't
# know what DOS's algorithm is.
More information about the wine-patches
mailing list