mirror of
https://github.com/reactos/wine.git
synced 2025-01-31 17:23:53 +00:00
Fix some typos.
This commit is contained in:
parent
a104d91ce8
commit
61aac4eaa1
@ -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
|
||||
|
@ -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))
|
||||
|
@ -137,7 +137,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(xxx);
|
||||
</programlisting>
|
||||
</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
|
||||
all the additional channels at the top of the file, and
|
||||
use the _-version of the debugging macros:
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user