Cosmetics.

This commit is contained in:
Alexandre Julliard 1999-12-27 05:26:00 +00:00
parent baa9bf9a23
commit 81ee21ddff
8 changed files with 11 additions and 11 deletions

View File

@ -118,7 +118,7 @@ static DM_FUNC template_func[] =
static PROXYHANDLE gProxyHandle = {NULL, FALSE, FALSE, FALSE, ERROR_LIBRARY_NOT_FOUND};
SQLRETURNTYPE SQLDummyFunc()
SQLRETURN SQLDummyFunc()
{
TRACE("SQLDummyFunc: \n");
return SQL_SUCCESS;

View File

@ -142,7 +142,7 @@ ULONG WINAPI BindCtxImpl_Release(IBindCtx* iface)
if (This->ref==0){
/* release all registred objects */
/* release all registered objects */
BindCtxImpl_ReleaseBoundObjects((IBindCtx*)This);
BindCtxImpl_Destroy(This);

View File

@ -2,7 +2,7 @@
* HGLOBAL Stream implementation
*
* This file contains the implementation of the stream interface
* for streams contained suported by an HGLOBAL pointer.
* for streams contained supported by an HGLOBAL pointer.
*
* Copyright 1999 Francis Beaudet
*/

View File

@ -131,15 +131,15 @@ HBITMAP TTYDRV_DC_BITMAP_SelectObject(DC *dc, HBITMAP hbitmap, BITMAPOBJ *bitmap
TRACE("(%p, 0x%04x, %p)\n", dc, hbitmap, bitmap);
if(!(dc->w.flags & DC_MEMORY))
return NULL;
return 0;
/* Assure that the bitmap device dependent */
if(!bitmap->DDBitmap && !TTYDRV_DC_CreateBitmap(hbitmap))
return NULL;
return 0;
if(bitmap->DDBitmap->funcs != dc->funcs) {
ERR("Trying to select a non-TTY DDB into a TTY DC\n");
return NULL;
return 0;
}
dc->w.totalExtent.left = 0;
@ -155,7 +155,7 @@ HBITMAP TTYDRV_DC_BITMAP_SelectObject(DC *dc, HBITMAP hbitmap, BITMAPOBJ *bitmap
HRGN hrgn;
if(!(hrgn = CreateRectRgn(0, 0, bitmap->bitmap.bmWidth, bitmap->bitmap.bmHeight)))
return NULL;
return 0;
dc->w.hVisRgn = hrgn;
}

View File

@ -541,7 +541,7 @@ UINT WINAPI DdeInitializeW( LPDWORD pidInst, PFNCALLBACK pfnCallback,
DWORD afCmd, DWORD ulRes )
{
/* probably not really capable of handling mutliple processes, but should handle
/* probably not really capable of handling multiple processes, but should handle
* multiple instances within one process */
SECURITY_ATTRIBUTES *s_att= NULL;

View File

@ -242,7 +242,7 @@ DWORD VERSION_GetLinkedDllVersion(PDB *pdb)
WinVersion = DllVersion;
else {
if (WinVersion != DllVersion) {
ERR("You mixed system dlls from different windows versions! Expect a chrash!\n");
ERR("You mixed system dlls from different windows versions! Expect a crash!\n");
return WIN31; /* this may let the exe exiting */
}
}

View File

@ -32,7 +32,7 @@ DEFAULT_DEBUG_CHANNEL(win32)
* no need in offset correction, like in UnixTimeToFileTime
* FIXME: This function should be moved to a more appropriate .c file
* FIXME: On floating point operations, it is assumed that
* floating values are truncated on convertion to integer.
* floating values are truncated on conversion to integer.
*/
void Process_ClockTimeToFileTime( clock_t unix_time, LPFILETIME filetime )
{

View File

@ -690,7 +690,7 @@ void X11DRV_WND_SurfaceCopy(WND* wndPtr, DC *dcPtr, INT dx, INT dy,
void X11DRV_WND_SetDrawable(WND *wndPtr, DC *dc, WORD flags, BOOL bSetClipOrigin)
{
X11DRV_PDEVICE *physDev = (X11DRV_PDEVICE *)dc->physDev;
INT dcOrgXCopy, dcOrgYCopy;
INT dcOrgXCopy = 0, dcOrgYCopy = 0;
BOOL offsetClipRgn = FALSE;
if (!wndPtr) /* Get a DC for the whole screen */