Fix some typos.

This commit is contained in:
Francois Gouget 2003-06-04 20:29:05 +00:00 committed by Alexandre Julliard
parent a104d91ce8
commit 61aac4eaa1
6 changed files with 11 additions and 10 deletions

View file

@ -348,7 +348,7 @@ static inline void EDIT_WM_Cut(EDITSTATE *es)
* get_app_version * get_app_version
* *
* Returns the window version in case Wine emulates a later version * Returns the window version in case Wine emulates a later version
* of windows then the application expects. * of windows than the application expects.
* *
* In a number of cases when windows runs an application that was * In a number of cases when windows runs an application that was
* designed for an earlier windows version, windows reverts * designed for an earlier windows version, windows reverts

View file

@ -959,13 +959,13 @@ BOOL static do_file_copyW( LPCWSTR source, LPCWSTR target, DWORD style)
/* /*
* This is sort of an interesting workaround. You see, calling * This is sort of an interesting workaround. You see, calling
* GetVersionInfoSize on a builtin dll loads that dll into memory. * GetVersionInfoSize on a builtin dll loads that dll into memory
* and we do not properly unload builtin dlls.. so we effectively * and we do not properly unload builtin dlls.. so we effectively
* lock into memory all the targets we are replacing. This leads * lock into memory all the targets we are replacing. This leads
* to problems when we try to register the replaced dlls. * to problems when we try to register the replaced dlls.
* *
* So I will test for the existance of the files first so that * So I will test for the existence of the files first so that
* we just basically unconditionally replace the builtin versions * we just basically unconditionally replace the builtin versions.
*/ */
if ((GetFileAttributesW(target) != INVALID_FILE_ATTRIBUTES) && if ((GetFileAttributesW(target) != INVALID_FILE_ATTRIBUTES) &&
(GetFileAttributesW(source) != INVALID_FILE_ATTRIBUTES)) (GetFileAttributesW(source) != INVALID_FILE_ATTRIBUTES))

View file

@ -137,7 +137,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(xxx);
</programlisting> </programlisting>
</para> </para>
<para> <para>
I rare situations there is a need to output to more then one In rare situations there is a need to output to more than one
debug channel per file. In such cases, you need to declare debug channel per file. In such cases, you need to declare
all the additional channels at the top of the file, and all the additional channels at the top of the file, and
use the _-version of the debugging macros: use the _-version of the debugging macros:

View file

@ -422,9 +422,10 @@ static PROFILEKEY *PROFILE_Find( PROFILESECTION **section, LPCWSTR section_name,
while (*key) while (*key)
{ {
/* If create_always is FALSE then we check if the keyname already exists. /* If create_always is FALSE then we check if the keyname
* Otherwise we add it regardless of its existence, to allow * already exists. Otherwise we add it regardless of its
* keys to be added more then once in some cases. * existence, to allow keys to be added more than once in
* some cases.
*/ */
if(!create_always) if(!create_always)
{ {

View file

@ -1060,7 +1060,7 @@ DWORD WINAPI GetFreeMemInfo16(void)
#define POINTER_TO_HANDLE(p) (*(((HGLOBAL *)(p))-2)) #define POINTER_TO_HANDLE(p) (*(((HGLOBAL *)(p))-2))
#define ISHANDLE(h) (((ULONG_PTR)(h)&2)!=0) #define ISHANDLE(h) (((ULONG_PTR)(h)&2)!=0)
#define ISPOINTER(h) (((ULONG_PTR)(h)&2)==0) #define ISPOINTER(h) (((ULONG_PTR)(h)&2)==0)
/* allign the storage needed for the HGLOBAL on an 8byte boundary thus /* align the storage needed for the HGLOBAL on an 8byte boundary thus
* GlobalAlloc/GlobalReAlloc'ing with GMEM_MOVEABLE of memory with * GlobalAlloc/GlobalReAlloc'ing with GMEM_MOVEABLE of memory with
* size = 8*k, where k=1,2,3,... alloc's exactly the given size. * size = 8*k, where k=1,2,3,... alloc's exactly the given size.
* The Minolta DiMAGE Image Viewer heavily relies on this, corrupting * The Minolta DiMAGE Image Viewer heavily relies on this, corrupting

View file

@ -79,7 +79,7 @@ void RPCSS_SetMaxLazyTimeout(long mlt)
{ {
/* FIXME: this max ensures that no caller will decrease our wait time, /* FIXME: this max ensures that no caller will decrease our wait time,
but could have other bad results. fix: Store "next_max_lazy_timeout" but could have other bad results. fix: Store "next_max_lazy_timeout"
and install it as neccesary next time we "do work"? */ and install it as necessary next time we "do work"? */
max_lazy_timeout = max(RPCSS_GetLazyTimeRemaining(), mlt); max_lazy_timeout = max(RPCSS_GetLazyTimeRemaining(), mlt);
} }