Assorted spelling fixes.

This commit is contained in:
Francois Gouget 2005-05-06 15:44:31 +00:00 committed by Alexandre Julliard
parent 3629cc4ed6
commit f5c9da6860
31 changed files with 47 additions and 47 deletions

View File

@ -588,7 +588,7 @@ static void MRU_SaveChanged ( LPWINEMRULIST mp )
if ((err = RegOpenKeyExW( mp->extview.hKey, mp->extview.lpszSubKey, if ((err = RegOpenKeyExW( mp->extview.hKey, mp->extview.lpszSubKey,
0, KEY_WRITE, &newkey))) { 0, KEY_WRITE, &newkey))) {
/* not present - what to do ??? */ /* 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); err);
if ((err = RegCreateKeyExW( mp->extview.hKey, mp->extview.lpszSubKey, if ((err = RegCreateKeyExW( mp->extview.hKey, mp->extview.lpszSubKey,
0, 0,
@ -980,7 +980,7 @@ static HANDLE CreateMRUListLazy_common(LPWINEMRULIST mp)
&newkey, &newkey,
&dwdisp))) { &dwdisp))) {
/* error - what to do ??? */ /* 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, mp->extview.cbSize, mp->extview.nMaxItems, mp->extview.dwFlags,
(DWORD)mp->extview.hKey, debugstr_w(mp->extview.lpszSubKey), (DWORD)mp->extview.hKey, debugstr_w(mp->extview.lpszSubKey),
mp->extview.lpfnCompare, err); mp->extview.lpfnCompare, err);

View File

@ -54,7 +54,7 @@ typedef struct tagHOTKEY_INFO
BYTE CurrMod; BYTE CurrMod;
INT CaretPos; INT CaretPos;
DWORD ScanCode; DWORD ScanCode;
WCHAR strNone[15]; /* hope its long enough ... */ WCHAR strNone[15]; /* hope it's long enough ... */
} HOTKEY_INFO; } HOTKEY_INFO;
static const WCHAR HOTKEY_plussep[] = { ' ', '+', ' ' }; static const WCHAR HOTKEY_plussep[] = { ' ', '+', ' ' };

View File

@ -98,7 +98,7 @@ static inline BOOL is_valid(HIMAGELIST himl)
* nothing * nothing
* *
* NOTES * 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 static void
IMAGELIST_InternalExpandBitmaps (HIMAGELIST himl, INT nImageCount, INT cx, INT cy) IMAGELIST_InternalExpandBitmaps (HIMAGELIST himl, INT nImageCount, INT cx, INT cy)

View File

@ -8617,7 +8617,7 @@ static LRESULT LISTVIEW_SetRedraw(LISTVIEW_INFO *infoPtr, BOOL bRedraw)
{ {
TRACE("infoPtr->bRedraw=%d, bRedraw=%d\n", infoPtr->bRedraw, bRedraw); TRACE("infoPtr->bRedraw=%d, bRedraw=%d\n", infoPtr->bRedraw, bRedraw);
/* we can not use straight equality here because _any_ non-zero value is TRUE */ /* we cannot use straight equality here because _any_ non-zero value is TRUE */
if ((infoPtr->bRedraw && bRedraw) || (!infoPtr->bRedraw && !bRedraw)) return 0; if ((infoPtr->bRedraw && bRedraw) || (!infoPtr->bRedraw && !bRedraw)) return 0;
infoPtr->bRedraw = bRedraw; infoPtr->bRedraw = bRedraw;

View File

@ -6233,7 +6233,7 @@ TOOLBAR_NCCreate (HWND hwnd, WPARAM wParam, LPARAM lParam)
* forgets to specify TBSTYLE_TRANSPARENT but does specify either * forgets to specify TBSTYLE_TRANSPARENT but does specify either
* CCS_TOP or CCS_BOTTOM (_NOMOVEY and _TOP), then the control * CCS_TOP or CCS_BOTTOM (_NOMOVEY and _TOP), then the control
* does *not* set TBSTYLE_TRANSPARENT even though it should!!!! * does *not* set TBSTYLE_TRANSPARENT even though it should!!!!
* Some how, the only cases of this seem to be MFC programs. * Somehow, the only cases of this seem to be MFC programs.
* *
* Note also that the addition of _TRANSPARENT occurs *only* here. It * Note also that the addition of _TRANSPARENT occurs *only* here. It
* does not occur in the WM_STYLECHANGING routine. * does not occur in the WM_STYLECHANGING routine.

View File

@ -554,7 +554,7 @@ static HRESULT WINAPI IDirectSoundBufferImpl_GetFormat(
if (wfwritten) if (wfwritten)
*wfwritten = size; *wfwritten = size;
} else { } else {
WARN("invalid parameter: wfsize to small\n"); WARN("invalid parameter: wfsize too small\n");
if (wfwritten) if (wfwritten)
*wfwritten = 0; *wfwritten = 0;
return DSERR_INVALIDPARAM; return DSERR_INVALIDPARAM;

View File

@ -649,7 +649,7 @@ static HRESULT WINAPI PrimaryBufferImpl_GetFormat(
if (wfwritten) if (wfwritten)
*wfwritten = size; *wfwritten = size;
} else { } else {
WARN("invalid parameter: wfsize to small\n"); WARN("invalid parameter: wfsize too small\n");
if (wfwritten) if (wfwritten)
*wfwritten = 0; *wfwritten = 0;
return DSERR_INVALIDPARAM; return DSERR_INVALIDPARAM;

View File

@ -323,7 +323,7 @@ BOOL WINAPI GdiTransparentBlt( HDC hdcDest, int xDest, int yDest, int widthDest,
int oldStretchMode; int oldStretchMode;
if(widthDest < 0 || heightDest < 0 || widthSrc < 0 || heightSrc < 0) { if(widthDest < 0 || heightDest < 0 || widthSrc < 0 || heightSrc < 0) {
TRACE("Can not mirror\n"); TRACE("Cannot mirror\n");
return FALSE; return FALSE;
} }

View File

@ -124,7 +124,7 @@ HPALETTE PALETTE_Init(void)
if (palObj) if (palObj)
{ {
if (!(palObj->mapping = HeapAlloc( GetProcessHeap(), 0, sizeof(int) * NB_RESERVED_COLORS ))) if (!(palObj->mapping = HeapAlloc( GetProcessHeap(), 0, sizeof(int) * NB_RESERVED_COLORS )))
ERR("Can not create palette mapping -- out of memory!\n"); ERR("Cannot create palette mapping -- out of memory!\n");
GDI_ReleaseObj( hpalette ); GDI_ReleaseObj( hpalette );
} }
return hpalette; return hpalette;
@ -401,7 +401,7 @@ BOOL WINAPI ResizePalette(
int *newMap = HeapReAlloc(GetProcessHeap(), 0, mapping, cEntries * sizeof(int) ); int *newMap = HeapReAlloc(GetProcessHeap(), 0, mapping, cEntries * sizeof(int) );
if(newMap == NULL) if(newMap == NULL)
{ {
ERR("Can not resize mapping -- out of memory!\n"); ERR("Cannot resize mapping -- out of memory!\n");
GDI_ReleaseObj( hPal ); GDI_ReleaseObj( hPal );
return FALSE; return FALSE;
} }

View File

@ -1580,12 +1580,12 @@ BOOL WINAPI WriteProfileSectionW( LPCWSTR section, LPCWSTR keys_n_values)
* Win95: * Win95:
* - if the buffer is 0 or 1 character long then it is as if it was of * - if the buffer is 0 or 1 character long then it is as if it was of
* infinite length. * 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. * 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 first section name then a single '\0' will be returned.
* - the return value is the number of characters written in the buffer, * - 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: * Win2000:
* - if the buffer is 0, 1 or 2 characters long then it is filled with * - if the buffer is 0, 1 or 2 characters long then it is filled with

View File

@ -1277,7 +1277,7 @@ static void test_MapFile()
ok( hmap == NULL, "mapping should fail\n"); ok( hmap == NULL, "mapping should fail\n");
/* GetLastError() varies between win9x and WinNT and also depends on the filesystem */ /* GetLastError() varies between win9x and WinNT and also depends on the filesystem */
/* On XP you can now map again, on Win 95 you can not. */ /* On XP you can now map again, on Win 95 you cannot. */
ok( CloseHandle( handle ), "can't close file handle\n"); ok( CloseHandle( handle ), "can't close file handle\n");
ok( DeleteFileA( filename ), "DeleteFile failed after map\n" ); ok( DeleteFileA( filename ), "DeleteFile failed after map\n" );

View File

@ -1192,7 +1192,7 @@ UINT WINAPI GetLogicalDriveStringsW( UINT len, LPWSTR buffer )
* DRIVE_UNKNOWN unable to find out anything about the drive * DRIVE_UNKNOWN unable to find out anything about the drive
* DRIVE_NO_ROOT_DIR nonexistent root dir * DRIVE_NO_ROOT_DIR nonexistent root dir
* DRIVE_REMOVABLE the disk can be removed from the machine * DRIVE_REMOVABLE the disk can be removed from the machine
* DRIVE_FIXED the disk can not be removed from the machine * DRIVE_FIXED the disk cannot be removed from the machine
* DRIVE_REMOTE network disk * DRIVE_REMOTE network disk
* DRIVE_CDROM CDROM drive * DRIVE_CDROM CDROM drive
* DRIVE_RAMDISK virtual disk in RAM * DRIVE_RAMDISK virtual disk in RAM

View File

@ -776,7 +776,7 @@ DWORD WINAPI LoadLibraryEx32W16( LPCSTR lpszLibFile, DWORD hFile, DWORD dwFlags
return 0; return 0;
} }
/* if the file can not be found, call LoadLibraryExA anyway, since it might be /* if the file cannot be found, call LoadLibraryExA anyway, since it might be
a builtin module. This case is handled in MODULE_LoadLibraryExA */ a builtin module. This case is handled in MODULE_LoadLibraryExA */
if ((p = strrchr( lpszLibFile, '.' )) && !strchr( p, '\\' )) /* got an extension */ if ((p = strrchr( lpszLibFile, '.' )) && !strchr( p, '\\' )) /* got an extension */

View File

@ -1288,7 +1288,7 @@ DWORD WINAPI RtlUnicodeStringToOemSize( const UNICODE_STRING *str )
* *
* RETURNS * RETURNS
* Success: STATUS_SUCCESS. src is appended to dest. * 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. * to hold the concatenated string.
* *
* NOTES * NOTES
@ -1318,7 +1318,7 @@ NTSTATUS WINAPI RtlAppendAsciizToString(
* *
* RETURNS * RETURNS
* Success: STATUS_SUCCESS. src is appended to dest. * 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. * to hold the concatenated string.
* *
* NOTES * NOTES
@ -1348,7 +1348,7 @@ NTSTATUS WINAPI RtlAppendStringToString(
* *
* RETURNS * RETURNS
* Success: STATUS_SUCCESS. src is appended to dest. * 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. * to hold the concatenated string.
* *
* NOTES * NOTES
@ -1387,7 +1387,7 @@ NTSTATUS WINAPI RtlAppendUnicodeToString(
* *
* RETURNS * RETURNS
* Success: STATUS_SUCCESS. src is appended to dest. * 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. * to hold the concatenated string.
* *
* NOTES * NOTES

View File

@ -658,7 +658,7 @@ SQLRETURN WINAPI SQLAllocHandle(SQLSMALLINT HandleType, SQLHANDLE InputHandle, S
if (!gProxyHandle.bFunctionReady || gProxyHandle.dmHandle == NULL) if (!gProxyHandle.bFunctionReady || gProxyHandle.dmHandle == NULL)
{ {
if (gProxyHandle.nErrorType == ERROR_LIBRARY_NOT_FOUND) if (gProxyHandle.nErrorType == ERROR_LIBRARY_NOT_FOUND)
WARN("ProxyODBC: Can not load ODBC driver manager library.\n"); WARN("ProxyODBC: Cannot load ODBC driver manager library.\n");
if (HandleType == SQL_HANDLE_ENV) if (HandleType == SQL_HANDLE_ENV)
*OutputHandle = SQL_NULL_HENV; *OutputHandle = SQL_NULL_HENV;
@ -716,7 +716,7 @@ SQLRETURN WINAPI SQLAllocHandleStd( SQLSMALLINT HandleType,
if (!gProxyHandle.bFunctionReady || gProxyHandle.dmHandle == NULL) if (!gProxyHandle.bFunctionReady || gProxyHandle.dmHandle == NULL)
{ {
if (gProxyHandle.nErrorType == ERROR_LIBRARY_NOT_FOUND) if (gProxyHandle.nErrorType == ERROR_LIBRARY_NOT_FOUND)
WARN("ProxyODBC: Can not load ODBC driver manager library.\n"); WARN("ProxyODBC: Cannot load ODBC driver manager library.\n");
if (HandleType == SQL_HANDLE_ENV) if (HandleType == SQL_HANDLE_ENV)
*OutputHandle = SQL_NULL_HENV; *OutputHandle = SQL_NULL_HENV;

View File

@ -825,7 +825,7 @@ void wgl_ext_finalize_extensions(void)
* *
* @WARNING: this list must be ordered by name * @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[] = { WGL_extension wgl_extension_registry[] = {
{ "wglBindTexImageARB", (void *) wglBindTexImageARB, NULL, NULL}, { "wglBindTexImageARB", (void *) wglBindTexImageARB, NULL, NULL},

View File

@ -158,10 +158,10 @@ STRINGTABLE DISCARDABLE
IDS_SELECT "Select" IDS_SELECT "Select"
IDS_OPEN "Open" 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_CREATEFOLDER_CAPTION "Error during creation of a new folder"
IDS_DELETEITEM_CAPTION "Confirm file delete" IDS_DELETEITEM_CAPTION "Confirm file deletion"
IDS_DELETEFOLDER_CAPTION "Confirm folder delete" IDS_DELETEFOLDER_CAPTION "Confirm folder deletion"
IDS_DELETEITEM_TEXT "Are you sure you want to delete '%1'?" 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_DELETEMULTIPLE_TEXT "Are you sure you want to delete these %1 items?"
IDS_OVERWRITEFILE_TEXT "OverWrite File %1?" IDS_OVERWRITEFILE_TEXT "OverWrite File %1?"

View File

@ -817,7 +817,7 @@ int WINAPI SHFileOperationA(LPSHFILEOPSTRUCTA lpFileOp)
if (ForFree) if (ForFree)
{ {
retCode = SHFileOperationW(&nFileOp); retCode = SHFileOperationW(&nFileOp);
HeapFree(GetProcessHeap(), 0, ForFree); /* we can not use wString, it was changed */ HeapFree(GetProcessHeap(), 0, ForFree); /* we cannot use wString, it was changed */
break; break;
} }
else else

View File

@ -388,7 +388,7 @@ void test_move(void)
set_curr_dir_path(from, "test1.txt\0test2.txt\0test4.txt\0"); set_curr_dir_path(from, "test1.txt\0test2.txt\0test4.txt\0");
set_curr_dir_path(to, "test6.txt\0test7.txt\0test8.txt\0"); set_curr_dir_path(to, "test6.txt\0test7.txt\0test8.txt\0");
ok(SHFileOperationA(&shfo), "Can not move many files\n"); ok(SHFileOperationA(&shfo), "Cannot move many files\n");
ok(file_exists(".\\test1.txt"), "The file is not moved. Many files are specified\n"); ok(file_exists(".\\test1.txt"), "The file is not moved. Many files are specified\n");
ok(file_exists(".\\test4.txt"), "The directory is not moved. Many files are specified\n"); ok(file_exists(".\\test4.txt"), "The directory is not moved. Many files are specified\n");

View File

@ -1300,10 +1300,10 @@ LONG WINAPI SHQueryInfoKeyW(HKEY hKey, LPDWORD pwSubKeys, LPDWORD pwSubKeyMax,
* *
* REG_EXPAND_SZ: * REG_EXPAND_SZ:
* case-1: the unexpanded string is smaller than the expanded one * 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. * 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 * the function return success (!!) and the result is truncated
* *** This is clearly an error in the native implementation. *** * *** 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 */ /* Expand type REG_EXPAND_SZ into REG_SZ */
LPSTR szData; 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 * to allocate our own
*/ */
if ((!pvData) || (dwRet == ERROR_MORE_DATA) ) if ((!pvData) || (dwRet == ERROR_MORE_DATA) )

View File

@ -3343,7 +3343,7 @@ BOOL WINAPI GetDefaultPrinterW(LPWSTR name, LPDWORD namesize)
/* make the buffer big enough for the stuff from the profile/registry, /* make the buffer big enough for the stuff from the profile/registry,
* the content must fit into the local buffer to compute the correct * 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) */ * (20 for ,driver,port) */
insize = *namesize; insize = *namesize;
len = max(100, (insize + 20)); len = max(100, (insize + 20));

View File

@ -322,7 +322,7 @@ static BOOL X11DRV_PALETTE_BuildPrivateMap( const PALETTEENTRY *sys_pal_template
int i; int i;
if((COLOR_sysPal = HeapAlloc(GetProcessHeap(), 0, sizeof(PALETTEENTRY)*palette_size)) == NULL) { 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; return FALSE;
} }
@ -578,7 +578,7 @@ static BOOL X11DRV_PALETTE_BuildSharedMap( const PALETTEENTRY *sys_pal_template
COLOR_sysPal = HeapAlloc(GetProcessHeap(),0,sizeof(PALETTEENTRY)*256); COLOR_sysPal = HeapAlloc(GetProcessHeap(),0,sizeof(PALETTEENTRY)*256);
if(COLOR_sysPal == NULL) { if(COLOR_sysPal == NULL) {
ERR("Can not allocate system palette!\n"); ERR("Unable to allocate the system palette!\n");
HeapFree(GetProcessHeap(), 0, pixDynMapping); HeapFree(GetProcessHeap(), 0, pixDynMapping);
return FALSE; return FALSE;
} }
@ -1095,7 +1095,7 @@ static UINT X11DRV_PALETTE_SetMapping( PALETTEOBJ* palPtr, UINT uStart, UINT uNu
sizeof(int)*palPtr->logpalette.palNumEntries); sizeof(int)*palPtr->logpalette.palNumEntries);
if(mapping == NULL) { if(mapping == NULL) {
ERR("Can not allocate new mapping -- memory exausted!\n"); ERR("Unable to allocate new mapping -- memory exhausted!\n");
return 0; return 0;
} }
palPtr->mapping = mapping; palPtr->mapping = mapping;

View File

@ -1435,7 +1435,7 @@ ln -s /c c:
<filename>c:\AnApp</filename> directories as well as have <filename>c:\AnApp</filename> directories as well as have
read access to the entire FAT filesystem. On this system read access to the entire FAT filesystem. On this system
the FAT filesystem has default permissions which should not the FAT filesystem has default permissions which should not
be changed for security reasons or can not be changed due to be changed for security reasons or cannot be changed due to
lack of root access. On this system a shadow directory lack of root access. On this system a shadow directory
might be set up in the following manner: might be set up in the following manner:
</para> </para>

View File

@ -59,7 +59,7 @@ MESSAGE( "Could not create graphics driver '%s'\n", buffer );
<para> <para>
These are warning messages. You should report a These are warning messages. You should report a
warning when something unwanted happens, and the warning when something unwanted happens, and the
function can not deal with the condition. This function cannot deal with the condition. This
is seldomly used since proper functions can usually is seldomly used since proper functions can usually
report failures back to the caller. Think twice before report failures back to the caller. Think twice before
making the message a warning. making the message a warning.

View File

@ -12,7 +12,7 @@
that is needed. that is needed.
</para> </para>
<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. the <command>configure</command> script checks.
</para> </para>
<para> <para>

View File

@ -300,7 +300,7 @@ code
There <emphasis>are</emphasis> exceptions to the "avoid There <emphasis>are</emphasis> exceptions to the "avoid
<symbol>#ifdef MyOS</symbol>" rule. Wine, for example, needs <symbol>#ifdef MyOS</symbol>" rule. Wine, for example, needs
the internals of the signal stack -- that cannot easily be the internals of the signal stack -- that cannot easily be
described in terms of features. Moreover, you can not use described in terms of features. Moreover, you cannot use
<filename>autoconf</filename>'s <symbol>HAVE_*</symbol> <filename>autoconf</filename>'s <symbol>HAVE_*</symbol>
symbols in Wine's headers, as these may be used by Winelib symbols in Wine's headers, as these may be used by Winelib
users who may not be using a <filename>configure</filename> users who may not be using a <filename>configure</filename>

View File

@ -604,7 +604,7 @@ less lzexpand_main.c.gcov
<screen> <screen>
INT file; INT file;
/* Check for non-existent file. */ /* Check for nonexistent file */
file = LZOpenFile("badfilename_", &amp;test, OF_READ); file = LZOpenFile("badfilename_", &amp;test, OF_READ);
ok(file == LZERROR_BADINHANDLE, ok(file == LZERROR_BADINHANDLE,
"LZOpenFile succeeded on nonexistent file\n"); "LZOpenFile succeeded on nonexistent file\n");

View File

@ -80,7 +80,7 @@
<para> <para>
First you must legally get MFC source code on your computer. The MFC First you must legally get MFC source code on your computer. The MFC
source code comes as a part of Visual Studio. The license for source code comes as a part of Visual Studio. The license for
Visual Studio implies it is a single product that can not Visual Studio implies it is a single product that cannot
be broken up into its components. So the cleanest way to get MFC on be broken up into its components. So the cleanest way to get MFC on
your system is to buy Visual Studio and install it on a dual boot your system is to buy Visual Studio and install it on a dual boot
Linux box. Linux box.

View File

@ -121,7 +121,7 @@ STRING_DOESNOTEXIST, "File '%s'\ndoes not exist\n\n \
Do you want to create a new file ?" Do you want to create a new file ?"
STRING_NOTSAVED, "File '%s'\nhas been modified\n\n \ STRING_NOTSAVED, "File '%s'\nhas been modified\n\n \
Would you like to save the changes ?" 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 \ STRING_OUT_OF_MEMORY, "Not enough memory to complete this \
task. \nClose one or more applications to increase the amount of \nfree \ task. \nClose one or more applications to increase the amount of \nfree \
memory." memory."

View File

@ -246,7 +246,7 @@ int WINECON_GrabChanges(struct inner_data* data)
continue; 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[i ].u.update.bottom + 1 < evts[ev_found].u.update.top ||
evts[ev_found].u.update.bottom + 1 < evts[i ].u.update.top)) evts[ev_found].u.update.bottom + 1 < evts[i ].u.update.top))
{ {

View File

@ -53,7 +53,7 @@ void* xmalloc(size_t size)
void* p; void* p;
if ((p = malloc (size)) == NULL) if ((p = malloc (size)) == NULL)
error("Can not malloc %d bytes.", size); error("Could not malloc %d bytes.", size);
return p; return p;
} }
@ -62,7 +62,7 @@ void *xrealloc(void* p, size_t size)
{ {
void* p2 = realloc (p, size); void* p2 = realloc (p, size);
if (size && !p2) if (size && !p2)
error("Can not realloc %d bytes.", size); error("Could not realloc %d bytes.", size);
return p2; 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); if (verbose) printf("Creating file %s\n", name);
va_start(ap, fmt); va_start(ap, fmt);
if ( !(file = fopen(name, "w")) ) if ( !(file = fopen(name, "w")) )
error ("Can not create %s.", name); error("Unable to open %s for writing.", name);
vfprintf(file, fmt, ap); vfprintf(file, fmt, ap);
va_end(ap); va_end(ap);
fclose(file); fclose(file);