From 61aac4eaa101e95578651216ba02256fec461b29 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Wed, 4 Jun 2003 20:29:05 +0000 Subject: [PATCH] Fix some typos. --- controls/edit.c | 2 +- dlls/setupapi/queue.c | 6 +++--- documentation/debugging.sgml | 2 +- files/profile.c | 7 ++++--- memory/global.c | 2 +- programs/rpcss/rpcss_main.c | 2 +- 6 files changed, 11 insertions(+), 10 deletions(-) diff --git a/controls/edit.c b/controls/edit.c index 14e36294795..a1bc526f1f2 100644 --- a/controls/edit.c +++ b/controls/edit.c @@ -348,7 +348,7 @@ static inline void EDIT_WM_Cut(EDITSTATE *es) * get_app_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 * designed for an earlier windows version, windows reverts diff --git a/dlls/setupapi/queue.c b/dlls/setupapi/queue.c index 19247a80ee6..df85f5165d9 100644 --- a/dlls/setupapi/queue.c +++ b/dlls/setupapi/queue.c @@ -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 - * 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 * lock into memory all the targets we are replacing. This leads * to problems when we try to register the replaced dlls. * - * So I will test for the existance of the files first so that - * we just basically unconditionally replace the builtin versions + * So I will test for the existence of the files first so that + * we just basically unconditionally replace the builtin versions. */ if ((GetFileAttributesW(target) != INVALID_FILE_ATTRIBUTES) && (GetFileAttributesW(source) != INVALID_FILE_ATTRIBUTES)) diff --git a/documentation/debugging.sgml b/documentation/debugging.sgml index 528bb541f57..c2d776bab93 100644 --- a/documentation/debugging.sgml +++ b/documentation/debugging.sgml @@ -137,7 +137,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(xxx); - 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 all the additional channels at the top of the file, and use the _-version of the debugging macros: diff --git a/files/profile.c b/files/profile.c index e13a7c7ad9b..473bd4ecd95 100644 --- a/files/profile.c +++ b/files/profile.c @@ -422,9 +422,10 @@ static PROFILEKEY *PROFILE_Find( PROFILESECTION **section, LPCWSTR section_name, while (*key) { - /* If create_always is FALSE then we check if the keyname already exists. - * Otherwise we add it regardless of its existence, to allow - * keys to be added more then once in some cases. + /* If create_always is FALSE then we check if the keyname + * already exists. Otherwise we add it regardless of its + * existence, to allow keys to be added more than once in + * some cases. */ if(!create_always) { diff --git a/memory/global.c b/memory/global.c index 85ea378d191..447db40cbd3 100644 --- a/memory/global.c +++ b/memory/global.c @@ -1060,7 +1060,7 @@ DWORD WINAPI GetFreeMemInfo16(void) #define POINTER_TO_HANDLE(p) (*(((HGLOBAL *)(p))-2)) #define ISHANDLE(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 * size = 8*k, where k=1,2,3,... alloc's exactly the given size. * The Minolta DiMAGE Image Viewer heavily relies on this, corrupting diff --git a/programs/rpcss/rpcss_main.c b/programs/rpcss/rpcss_main.c index 52035474a54..4e4266607bc 100644 --- a/programs/rpcss/rpcss_main.c +++ b/programs/rpcss/rpcss_main.c @@ -79,7 +79,7 @@ void RPCSS_SetMaxLazyTimeout(long mlt) { /* FIXME: this max ensures that no caller will decrease our wait time, 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); }