mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 06:56:46 +00:00
Assorted spelling fixes.
This commit is contained in:
parent
3629cc4ed6
commit
f5c9da6860
|
@ -588,7 +588,7 @@ static void MRU_SaveChanged ( LPWINEMRULIST mp )
|
|||
if ((err = RegOpenKeyExW( mp->extview.hKey, mp->extview.lpszSubKey,
|
||||
0, KEY_WRITE, &newkey))) {
|
||||
/* not present - what to do ??? */
|
||||
ERR("Can not open key, error=%d, attempting to create\n",
|
||||
ERR("Could not open key, error=%d, attempting to create\n",
|
||||
err);
|
||||
if ((err = RegCreateKeyExW( mp->extview.hKey, mp->extview.lpszSubKey,
|
||||
0,
|
||||
|
@ -980,7 +980,7 @@ static HANDLE CreateMRUListLazy_common(LPWINEMRULIST mp)
|
|||
&newkey,
|
||||
&dwdisp))) {
|
||||
/* error - what to do ??? */
|
||||
ERR("(%lu %lu %lx %lx \"%s\" %p): Can not open key, error=%d\n",
|
||||
ERR("(%lu %lu %lx %lx \"%s\" %p): Could not open key, error=%d\n",
|
||||
mp->extview.cbSize, mp->extview.nMaxItems, mp->extview.dwFlags,
|
||||
(DWORD)mp->extview.hKey, debugstr_w(mp->extview.lpszSubKey),
|
||||
mp->extview.lpfnCompare, err);
|
||||
|
|
|
@ -54,7 +54,7 @@ typedef struct tagHOTKEY_INFO
|
|||
BYTE CurrMod;
|
||||
INT CaretPos;
|
||||
DWORD ScanCode;
|
||||
WCHAR strNone[15]; /* hope its long enough ... */
|
||||
WCHAR strNone[15]; /* hope it's long enough ... */
|
||||
} HOTKEY_INFO;
|
||||
|
||||
static const WCHAR HOTKEY_plussep[] = { ' ', '+', ' ' };
|
||||
|
|
|
@ -98,7 +98,7 @@ static inline BOOL is_valid(HIMAGELIST himl)
|
|||
* nothing
|
||||
*
|
||||
* NOTES
|
||||
* This function can NOT be used to reduce the number of images.
|
||||
* This function CANNOT be used to reduce the number of images.
|
||||
*/
|
||||
static void
|
||||
IMAGELIST_InternalExpandBitmaps (HIMAGELIST himl, INT nImageCount, INT cx, INT cy)
|
||||
|
|
|
@ -554,7 +554,7 @@ static HRESULT WINAPI IDirectSoundBufferImpl_GetFormat(
|
|||
if (wfwritten)
|
||||
*wfwritten = size;
|
||||
} else {
|
||||
WARN("invalid parameter: wfsize to small\n");
|
||||
WARN("invalid parameter: wfsize too small\n");
|
||||
if (wfwritten)
|
||||
*wfwritten = 0;
|
||||
return DSERR_INVALIDPARAM;
|
||||
|
|
|
@ -649,7 +649,7 @@ static HRESULT WINAPI PrimaryBufferImpl_GetFormat(
|
|||
if (wfwritten)
|
||||
*wfwritten = size;
|
||||
} else {
|
||||
WARN("invalid parameter: wfsize to small\n");
|
||||
WARN("invalid parameter: wfsize too small\n");
|
||||
if (wfwritten)
|
||||
*wfwritten = 0;
|
||||
return DSERR_INVALIDPARAM;
|
||||
|
|
|
@ -1580,12 +1580,12 @@ BOOL WINAPI WriteProfileSectionW( LPCWSTR section, LPCWSTR keys_n_values)
|
|||
* Win95:
|
||||
* - if the buffer is 0 or 1 character long then it is as if it was of
|
||||
* infinite length.
|
||||
* - otherwise, if the buffer is to small only the section names that fit
|
||||
* - otherwise, if the buffer is too small only the section names that fit
|
||||
* are returned.
|
||||
* - note that this means if the buffer was to small to return even just
|
||||
* - note that this means if the buffer was too small to return even just
|
||||
* the first section name then a single '\0' will be returned.
|
||||
* - the return value is the number of characters written in the buffer,
|
||||
* except if the buffer was too smal in which case len-2 is returned
|
||||
* except if the buffer was too small in which case len-2 is returned
|
||||
*
|
||||
* Win2000:
|
||||
* - if the buffer is 0, 1 or 2 characters long then it is filled with
|
||||
|
|
|
@ -1288,7 +1288,7 @@ DWORD WINAPI RtlUnicodeStringToOemSize( const UNICODE_STRING *str )
|
|||
*
|
||||
* RETURNS
|
||||
* Success: STATUS_SUCCESS. src is appended to dest.
|
||||
* Failure: STATUS_BUFFER_TOO_SMALL, if the buffer of dest is to small
|
||||
* Failure: STATUS_BUFFER_TOO_SMALL, if the buffer of dest is too small
|
||||
* to hold the concatenated string.
|
||||
*
|
||||
* NOTES
|
||||
|
@ -1318,7 +1318,7 @@ NTSTATUS WINAPI RtlAppendAsciizToString(
|
|||
*
|
||||
* RETURNS
|
||||
* Success: STATUS_SUCCESS. src is appended to dest.
|
||||
* Failure: STATUS_BUFFER_TOO_SMALL, if the buffer of dest is to small
|
||||
* Failure: STATUS_BUFFER_TOO_SMALL, if the buffer of dest is too small
|
||||
* to hold the concatenated string.
|
||||
*
|
||||
* NOTES
|
||||
|
@ -1348,7 +1348,7 @@ NTSTATUS WINAPI RtlAppendStringToString(
|
|||
*
|
||||
* RETURNS
|
||||
* Success: STATUS_SUCCESS. src is appended to dest.
|
||||
* Failure: STATUS_BUFFER_TOO_SMALL, if the buffer of dest is to small
|
||||
* Failure: STATUS_BUFFER_TOO_SMALL, if the buffer of dest is too small
|
||||
* to hold the concatenated string.
|
||||
*
|
||||
* NOTES
|
||||
|
@ -1387,7 +1387,7 @@ NTSTATUS WINAPI RtlAppendUnicodeToString(
|
|||
*
|
||||
* RETURNS
|
||||
* Success: STATUS_SUCCESS. src is appended to dest.
|
||||
* Failure: STATUS_BUFFER_TOO_SMALL, if the buffer of dest is to small
|
||||
* Failure: STATUS_BUFFER_TOO_SMALL, if the buffer of dest is too small
|
||||
* to hold the concatenated string.
|
||||
*
|
||||
* NOTES
|
||||
|
|
|
@ -825,7 +825,7 @@ void wgl_ext_finalize_extensions(void)
|
|||
*
|
||||
* @WARNING: this list must be ordered by name
|
||||
*
|
||||
* @TODO: real handle caps on providing some func_init functions (third param, ex: to check extentions)
|
||||
* @TODO: real handle caps on providing some func_init functions (third param, ex: to check extensions)
|
||||
*/
|
||||
WGL_extension wgl_extension_registry[] = {
|
||||
{ "wglBindTexImageARB", (void *) wglBindTexImageARB, NULL, NULL},
|
||||
|
|
|
@ -158,10 +158,10 @@ STRINGTABLE DISCARDABLE
|
|||
IDS_SELECT "Select"
|
||||
IDS_OPEN "Open"
|
||||
|
||||
IDS_CREATEFOLDER_DENIED "Can not create new Folder: Permission denied."
|
||||
IDS_CREATEFOLDER_DENIED "Unable to create new Folder: Permission denied."
|
||||
IDS_CREATEFOLDER_CAPTION "Error during creation of a new folder"
|
||||
IDS_DELETEITEM_CAPTION "Confirm file delete"
|
||||
IDS_DELETEFOLDER_CAPTION "Confirm folder delete"
|
||||
IDS_DELETEITEM_CAPTION "Confirm file deletion"
|
||||
IDS_DELETEFOLDER_CAPTION "Confirm folder deletion"
|
||||
IDS_DELETEITEM_TEXT "Are you sure you want to delete '%1'?"
|
||||
IDS_DELETEMULTIPLE_TEXT "Are you sure you want to delete these %1 items?"
|
||||
IDS_OVERWRITEFILE_TEXT "OverWrite File %1?"
|
||||
|
|
|
@ -1300,10 +1300,10 @@ LONG WINAPI SHQueryInfoKeyW(HKEY hKey, LPDWORD pwSubKeys, LPDWORD pwSubKeyMax,
|
|||
*
|
||||
* REG_EXPAND_SZ:
|
||||
* case-1: the unexpanded string is smaller than the expanded one
|
||||
* subcase-1: the buffer is to small to hold the unexpanded string:
|
||||
* subcase-1: the buffer is too small to hold the unexpanded string:
|
||||
* function fails and returns the size of the unexpanded string.
|
||||
*
|
||||
* subcase-2: buffer is to small to hold the expanded string:
|
||||
* subcase-2: buffer is too small to hold the expanded string:
|
||||
* the function return success (!!) and the result is truncated
|
||||
* *** This is clearly an error in the native implementation. ***
|
||||
*
|
||||
|
@ -1332,7 +1332,7 @@ DWORD WINAPI SHQueryValueExA( HKEY hKey, LPCSTR lpszValue,
|
|||
/* Expand type REG_EXPAND_SZ into REG_SZ */
|
||||
LPSTR szData;
|
||||
|
||||
/* If the caller didn't supply a buffer or the buffer is to small we have
|
||||
/* If the caller didn't supply a buffer or the buffer is too small we have
|
||||
* to allocate our own
|
||||
*/
|
||||
if ((!pvData) || (dwRet == ERROR_MORE_DATA) )
|
||||
|
|
|
@ -3343,7 +3343,7 @@ BOOL WINAPI GetDefaultPrinterW(LPWSTR name, LPDWORD namesize)
|
|||
|
||||
/* make the buffer big enough for the stuff from the profile/registry,
|
||||
* the content must fit into the local buffer to compute the correct
|
||||
* size even if the extern buffer is to small or not given.
|
||||
* size even if the extern buffer is too small or not given.
|
||||
* (20 for ,driver,port) */
|
||||
insize = *namesize;
|
||||
len = max(100, (insize + 20));
|
||||
|
|
|
@ -322,7 +322,7 @@ static BOOL X11DRV_PALETTE_BuildPrivateMap( const PALETTEENTRY *sys_pal_template
|
|||
int i;
|
||||
|
||||
if((COLOR_sysPal = HeapAlloc(GetProcessHeap(), 0, sizeof(PALETTEENTRY)*palette_size)) == NULL) {
|
||||
WARN("Can not allocate system palette\n");
|
||||
WARN("Unable to allocate the system palette\n");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
@ -578,7 +578,7 @@ static BOOL X11DRV_PALETTE_BuildSharedMap( const PALETTEENTRY *sys_pal_template
|
|||
|
||||
COLOR_sysPal = HeapAlloc(GetProcessHeap(),0,sizeof(PALETTEENTRY)*256);
|
||||
if(COLOR_sysPal == NULL) {
|
||||
ERR("Can not allocate system palette!\n");
|
||||
ERR("Unable to allocate the system palette!\n");
|
||||
HeapFree(GetProcessHeap(), 0, pixDynMapping);
|
||||
return FALSE;
|
||||
}
|
||||
|
@ -1095,7 +1095,7 @@ static UINT X11DRV_PALETTE_SetMapping( PALETTEOBJ* palPtr, UINT uStart, UINT uNu
|
|||
sizeof(int)*palPtr->logpalette.palNumEntries);
|
||||
|
||||
if(mapping == NULL) {
|
||||
ERR("Can not allocate new mapping -- memory exausted!\n");
|
||||
ERR("Unable to allocate new mapping -- memory exhausted!\n");
|
||||
return 0;
|
||||
}
|
||||
palPtr->mapping = mapping;
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
that is needed.
|
||||
</para>
|
||||
<para>
|
||||
To be more clear, I will detail one step after another what
|
||||
For clarity, I will detail one step after another what
|
||||
the <command>configure</command> script checks.
|
||||
</para>
|
||||
<para>
|
||||
|
|
|
@ -604,7 +604,7 @@ less lzexpand_main.c.gcov
|
|||
<screen>
|
||||
INT file;
|
||||
|
||||
/* Check for non-existent file. */
|
||||
/* Check for nonexistent file */
|
||||
file = LZOpenFile("badfilename_", &test, OF_READ);
|
||||
ok(file == LZERROR_BADINHANDLE,
|
||||
"LZOpenFile succeeded on nonexistent file\n");
|
||||
|
|
|
@ -121,7 +121,7 @@ STRING_DOESNOTEXIST, "File '%s'\ndoes not exist\n\n \
|
|||
Do you want to create a new file ?"
|
||||
STRING_NOTSAVED, "File '%s'\nhas been modified\n\n \
|
||||
Would you like to save the changes ?"
|
||||
STRING_NOTFOUND, "'%s' can not be found."
|
||||
STRING_NOTFOUND, "'%s' could not be found."
|
||||
STRING_OUT_OF_MEMORY, "Not enough memory to complete this \
|
||||
task. \nClose one or more applications to increase the amount of \nfree \
|
||||
memory."
|
||||
|
|
|
@ -246,7 +246,7 @@ int WINECON_GrabChanges(struct inner_data* data)
|
|||
continue;
|
||||
}
|
||||
|
||||
if (ev_found != -1 && /* Only 2 cases where they can NOT merge */
|
||||
if (ev_found != -1 && /* Only 2 cases where they CANNOT merge */
|
||||
!(evts[i ].u.update.bottom + 1 < evts[ev_found].u.update.top ||
|
||||
evts[ev_found].u.update.bottom + 1 < evts[i ].u.update.top))
|
||||
{
|
||||
|
|
|
@ -53,7 +53,7 @@ void* xmalloc(size_t size)
|
|||
void* p;
|
||||
|
||||
if ((p = malloc (size)) == NULL)
|
||||
error("Can not malloc %d bytes.", size);
|
||||
error("Could not malloc %d bytes.", size);
|
||||
|
||||
return p;
|
||||
}
|
||||
|
@ -62,7 +62,7 @@ void *xrealloc(void* p, size_t size)
|
|||
{
|
||||
void* p2 = realloc (p, size);
|
||||
if (size && !p2)
|
||||
error("Can not realloc %d bytes.", size);
|
||||
error("Could not realloc %d bytes.", size);
|
||||
|
||||
return p2;
|
||||
}
|
||||
|
@ -195,7 +195,7 @@ void create_file(const char* name, int mode, const char* fmt, ...)
|
|||
if (verbose) printf("Creating file %s\n", name);
|
||||
va_start(ap, fmt);
|
||||
if ( !(file = fopen(name, "w")) )
|
||||
error ("Can not create %s.", name);
|
||||
error("Unable to open %s for writing.", name);
|
||||
vfprintf(file, fmt, ap);
|
||||
va_end(ap);
|
||||
fclose(file);
|
||||
|
|
Loading…
Reference in a new issue