Add '\n' at the end of traces.

oldstable
Francois Gouget 2001-05-09 17:31:31 +00:00 committed by Alexandre Julliard
parent 3abeae8f4a
commit e76218dd61
54 changed files with 127 additions and 125 deletions

View File

@ -3630,7 +3630,7 @@ BOOL WINAPI InsertMenuW( HMENU hMenu, UINT pos, UINT flags,
if (IS_STRING_ITEM(flags) && str) if (IS_STRING_ITEM(flags) && str)
TRACE("hMenu %04x, pos %d, flags %08x, " TRACE("hMenu %04x, pos %d, flags %08x, "
"id %04x, str '%s'\n", "id %04x, str %s\n",
hMenu, pos, flags, id, debugstr_w(str) ); hMenu, pos, flags, id, debugstr_w(str) );
else TRACE("hMenu %04x, pos %d, flags %08x, " else TRACE("hMenu %04x, pos %d, flags %08x, "
"id %04x, str %08lx (not a string)\n", "id %04x, str %08lx (not a string)\n",

View File

@ -879,7 +879,7 @@ HRESULT WINAPI
COMCTL32_DllGetVersion (DLLVERSIONINFO *pdvi) COMCTL32_DllGetVersion (DLLVERSIONINFO *pdvi)
{ {
if (pdvi->cbSize != sizeof(DLLVERSIONINFO)) { if (pdvi->cbSize != sizeof(DLLVERSIONINFO)) {
WARN("wrong DLLVERSIONINFO size from app"); WARN("wrong DLLVERSIONINFO size from app\n");
return E_INVALIDARG; return E_INVALIDARG;
} }
@ -1024,7 +1024,7 @@ _TrackMouseEvent (TRACKMOUSEEVENT *ptme)
TRACE("%lx, %lx, %x, %lx\n", ptme->cbSize, ptme->dwFlags, ptme->hwndTrack, ptme->dwHoverTime); TRACE("%lx, %lx, %x, %lx\n", ptme->cbSize, ptme->dwFlags, ptme->hwndTrack, ptme->dwHoverTime);
if (ptme->cbSize != sizeof(TRACKMOUSEEVENT)) { if (ptme->cbSize != sizeof(TRACKMOUSEEVENT)) {
WARN("wrong TRACKMOUSEEVENT size from app"); WARN("wrong TRACKMOUSEEVENT size from app\n");
SetLastError(ERROR_INVALID_PARAMETER); /* FIXME not sure if this is correct */ SetLastError(ERROR_INVALID_PARAMETER); /* FIXME not sure if this is correct */
return FALSE; return FALSE;
} }

View File

@ -3035,8 +3035,8 @@ static VOID LISTVIEW_DrawLargeItem(HWND hwnd, HDC hdc, INT nItem, RECT rcItem,
UINT textoutOptions = ETO_CLIPPED | ETO_OPAQUE; UINT textoutOptions = ETO_CLIPPED | ETO_OPAQUE;
RECT rcTemp; RECT rcTemp;
TRACE("(hwnd=%x, hdc=%x, nItem=%d, left=%d, top=%d, right=%d, \ TRACE("(hwnd=%x, hdc=%x, nItem=%d, left=%d, top=%d, right=%d, bottom=%d)\n",
bottom=%d)\n", hwnd, hdc, nItem, rcItem.left, rcItem.top, rcItem.right, hwnd, hdc, nItem, rcItem.left, rcItem.top, rcItem.right,
rcItem.bottom); rcItem.bottom);
/* get information needed for drawing the item */ /* get information needed for drawing the item */
@ -8506,7 +8506,7 @@ static LRESULT LISTVIEW_NotifyFormat(HWND hwndFrom, HWND hwnd, INT nCommand)
(WPARAM)hwnd, (LPARAM)NF_QUERY); (WPARAM)hwnd, (LPARAM)NF_QUERY);
if (infoPtr->notifyFormat == NFR_UNICODE) if (infoPtr->notifyFormat == NFR_UNICODE)
{ {
FIXME("NO support for unicode structures"); FIXME("NO support for unicode structures\n");
} }
} }

View File

@ -3450,7 +3450,7 @@ TREEVIEW_EndEditLabelNow(TREEVIEW_INFO *infoPtr, BOOL bCancel)
if (iLength >= 1023) if (iLength >= 1023)
{ {
ERR("Insuficient space to retrieve new item label."); ERR("Insuficient space to retrieve new item label\n");
} }
tvdi.item.pszText = tmpText; tvdi.item.pszText = tmpText;
@ -3472,7 +3472,7 @@ TREEVIEW_EndEditLabelNow(TREEVIEW_INFO *infoPtr, BOOL bCancel)
{ {
if (NULL == COMCTL32_ReAlloc(editedItem->pszText, iLength + 1)) if (NULL == COMCTL32_ReAlloc(editedItem->pszText, iLength + 1))
{ {
ERR("OutOfMemory, cannot allocate space for label"); ERR("OutOfMemory, cannot allocate space for label\n");
DestroyWindow(infoPtr->hwndEdit); DestroyWindow(infoPtr->hwndEdit);
infoPtr->hwndEdit = 0; infoPtr->hwndEdit = 0;
return FALSE; return FALSE;

View File

@ -543,8 +543,8 @@ static LONG FILEDLG_WMInitDialog(HWND hWnd, WPARAM wParam, LPARAM lParam)
(LPARAM)(ofn->lpstrCustomFilter) + n ); (LPARAM)(ofn->lpstrCustomFilter) + n );
n += lstrlenW(pstr) + 1; n += lstrlenW(pstr) + 1;
pstr += lstrlenW(pstr) + 1; pstr += lstrlenW(pstr) + 1;
TRACE("add str='%s' " TRACE("add str=%s associated to %s\n",
"associated to '%s'\n", debugstr_w(old_pstr), debugstr_w(pstr)); debugstr_w(old_pstr), debugstr_w(pstr));
SendDlgItemMessageW(hWnd, cmb1, CB_SETITEMDATA, i, (LPARAM)pstr); SendDlgItemMessageW(hWnd, cmb1, CB_SETITEMDATA, i, (LPARAM)pstr);
n += lstrlenW(pstr) + 1; n += lstrlenW(pstr) + 1;
pstr += lstrlenW(pstr) + 1; pstr += lstrlenW(pstr) + 1;
@ -560,8 +560,8 @@ static LONG FILEDLG_WMInitDialog(HWND hWnd, WPARAM wParam, LPARAM lParam)
(LPARAM)(ofn->lpstrFilter + n) ); (LPARAM)(ofn->lpstrFilter + n) );
n += lstrlenW(pstr) + 1; n += lstrlenW(pstr) + 1;
pstr += lstrlenW(pstr) + 1; pstr += lstrlenW(pstr) + 1;
TRACE("add str='%s' " TRACE("add str=%s associated to %s\n",
"associated to '%s'\n", debugstr_w(old_pstr), debugstr_w(pstr)); debugstr_w(old_pstr), debugstr_w(pstr));
SendDlgItemMessageW(hWnd, cmb1, CB_SETITEMDATA, i, (LPARAM)pstr); SendDlgItemMessageW(hWnd, cmb1, CB_SETITEMDATA, i, (LPARAM)pstr);
n += lstrlenW(pstr) + 1; n += lstrlenW(pstr) + 1;
pstr += lstrlenW(pstr) + 1; pstr += lstrlenW(pstr) + 1;

View File

@ -1246,7 +1246,7 @@ Uninit_DirectDraw_Initialize(LPDIRECTDRAW7 iface, LPGUID pDeviceGuid)
const ddraw_driver* driver; const ddraw_driver* driver;
ICOM_THIS(IDirectDrawImpl, iface); ICOM_THIS(IDirectDrawImpl, iface);
TRACE("(%p)->(%p)", iface, pDeviceGuid); TRACE("(%p)->(%p)\n", iface, pDeviceGuid);
driver = DDRAW_FindDriver(pDeviceGuid); driver = DDRAW_FindDriver(pDeviceGuid);
/* XXX This return value is not documented. (Not checked.) */ /* XXX This return value is not documented. (Not checked.) */

View File

@ -305,8 +305,8 @@ static HRESULT WINAPI SysMouseAImpl_SetDataFormat(
else if (df->dwFlags == DIDF_RELAXIS) else if (df->dwFlags == DIDF_RELAXIS)
This->absolute = 0; This->absolute = 0;
else else
ERR("Neither absolute nor relative flag set."); ERR("Neither absolute nor relative flag set\n");
/* Store the new data format */ /* Store the new data format */
This->df = HeapAlloc(GetProcessHeap(),0,df->dwSize); This->df = HeapAlloc(GetProcessHeap(),0,df->dwSize);
memcpy(This->df, df, df->dwSize); memcpy(This->df, df, df->dwSize);

View File

@ -2412,7 +2412,7 @@ static inline void get_fields(const IDirectSoundBufferImpl *dsb, BYTE *buf, INT
{ {
INT16 *bufs = (INT16 *) buf; INT16 *bufs = (INT16 *) buf;
/* TRACE("(%p)", buf); */ /* TRACE("(%p)\n", buf); */
if ((dsb->wfx.wBitsPerSample == 8) && dsb->wfx.nChannels == 2) { if ((dsb->wfx.wBitsPerSample == 8) && dsb->wfx.nChannels == 2) {
*fl = cvtU8toS16(*buf); *fl = cvtU8toS16(*buf);
*fr = cvtU8toS16(*(buf + 1)); *fr = cvtU8toS16(*(buf + 1));
@ -2601,7 +2601,7 @@ static void DSOUND_Mixer3D(IDirectSoundBufferImpl *dsb, BYTE *buf, INT len)
obp = buf; obp = buf;
if (buf_mixpos > buflen) { if (buf_mixpos > buflen) {
FIXME("Major breakage"); FIXME("Major breakage\n");
return; return;
} }

View File

@ -161,7 +161,7 @@ static BOOL IMM32_DestroyIMC( HIMC hIMC )
if ( pIMC->context.hWnd != (HWND)NULL ) if ( pIMC->context.hWnd != (HWND)NULL )
{ {
FIXME( "please release lock of the context.hWnd!" ); FIXME( "please release lock of the context.hWnd!\n" );
} }
if ( pIMC->fSelected ) if ( pIMC->fSelected )

View File

@ -191,10 +191,10 @@ LRESULT CALLBACK IMM32_IMEWndProc( HWND hwnd, UINT nMsg,
case WM_KEYUP: case WM_KEYUP:
return IMM32_IMEWnd_WM_KEYUP( pParam, wParam, lParam ); return IMM32_IMEWnd_WM_KEYUP( pParam, wParam, lParam );
case WM_IME_KEYDOWN: case WM_IME_KEYDOWN:
ERR( "Why WM_IME_KEYDOWN is generated?" ); ERR( "Why WM_IME_KEYDOWN is generated?\n" );
return 0; return 0;
case WM_IME_KEYUP: case WM_IME_KEYUP:
ERR( "Why WM_IME_KEYUP is generated?" ); ERR( "Why WM_IME_KEYUP is generated?\n" );
return 0; return 0;
case WM_IME_CHAR: case WM_IME_CHAR:
FIXME( "ignore WM_IME_CHAR - wParam %08x, lParam %08lx.\n", FIXME( "ignore WM_IME_CHAR - wParam %08x, lParam %08lx.\n",

View File

@ -178,7 +178,7 @@ LONG WINAPI ImmGetCompositionStringA(
case VER_PLATFORM_WIN32_WINDOWS: return -1; case VER_PLATFORM_WIN32_WINDOWS: return -1;
case VER_PLATFORM_WIN32_NT: return 0; case VER_PLATFORM_WIN32_NT: return 0;
default: default:
FIXME("%ld not supported",version.dwPlatformId); FIXME("%ld not supported\n",version.dwPlatformId);
return -1; return -1;
} }
} }
@ -201,7 +201,7 @@ LONG WINAPI ImmGetCompositionStringW(
case VER_PLATFORM_WIN32_WINDOWS: return -1; case VER_PLATFORM_WIN32_WINDOWS: return -1;
case VER_PLATFORM_WIN32_NT: return 0; case VER_PLATFORM_WIN32_NT: return 0;
default: default:
FIXME("%ld not supported",version.dwPlatformId); FIXME("%ld not supported\n",version.dwPlatformId);
return -1; return -1;
} }
} }
@ -365,7 +365,7 @@ UINT WINAPI ImmGetVirtualKey(HWND hWnd)
case VER_PLATFORM_WIN32_NT: case VER_PLATFORM_WIN32_NT:
return 0; return 0;
default: default:
FIXME("%ld not supported",version.dwPlatformId); FIXME("%ld not supported\n",version.dwPlatformId);
return VK_PROCESSKEY; return VK_PROCESSKEY;
} }
} }

View File

@ -89,7 +89,7 @@ LPVOID IMM32_MoveableLock( IMM32_MOVEABLEMEM* lpMoveable )
{ {
if ( lpMoveable->dwLockCount == IMM32_MOVEABLEMEM_LOCK_MAX ) if ( lpMoveable->dwLockCount == IMM32_MOVEABLEMEM_LOCK_MAX )
{ {
ERR( "lock count is 0xffffffff." ); ERR( "lock count is 0xffffffff\n" );
} }
else else
{ {

View File

@ -108,7 +108,7 @@ static DWORD WINAPI UTGlue32( FARPROC16 target, LPVOID lpBuff, DWORD dwUserDefin
segptrList = HeapAlloc( GetProcessHeap(), 0, sizeof(SEGPTR)*nList ); segptrList = HeapAlloc( GetProcessHeap(), 0, sizeof(SEGPTR)*nList );
if ( !segptrList ) if ( !segptrList )
{ {
FIXME("Unable to allocate segptrList!" ); FIXME("Unable to allocate segptrList!\n" );
return 0; return 0;
} }

View File

@ -566,7 +566,7 @@ int _fstat(int fd, struct _stat* buf)
MSVCRT__set_errno(ERROR_INVALID_PARAMETER); MSVCRT__set_errno(ERROR_INVALID_PARAMETER);
return -1; return -1;
} }
FIXME(":dwFileAttributes = %d, mode set to 0",hfi.dwFileAttributes); FIXME(":dwFileAttributes = %d, mode set to 0\n",hfi.dwFileAttributes);
buf->st_nlink = hfi.nNumberOfLinks; buf->st_nlink = hfi.nNumberOfLinks;
buf->st_size = hfi.nFileSizeLow; buf->st_size = hfi.nFileSizeLow;
RtlTimeToSecondsSince1970(&hfi.ftLastAccessTime, &dw); RtlTimeToSecondsSince1970(&hfi.ftLastAccessTime, &dw);

View File

@ -406,7 +406,7 @@ char* MSVCRT_setlocale(int category, const char* locale)
if (haveCP && !haveCountry && !haveLang) if (haveCP && !haveCountry && !haveLang)
{ {
FIXME(":Codepage only locale not implemented"); FIXME(":Codepage only locale not implemented\n");
/* FIXME: Use default lang/country and skip locale_to_LCID() /* FIXME: Use default lang/country and skip locale_to_LCID()
* call below... * call below...
*/ */
@ -456,7 +456,7 @@ const char* _Getdays(void)
static const char *MSVCRT_days = ":Sun:Sunday:Mon:Monday:Tue:Tuesday:Wed:" static const char *MSVCRT_days = ":Sun:Sunday:Mon:Monday:Tue:Tuesday:Wed:"
"Wednesday:Thu:Thursday:Fri:Friday:Sat:Saturday"; "Wednesday:Thu:Thursday:Fri:Friday:Sat:Saturday";
/* FIXME: Use locale */ /* FIXME: Use locale */
TRACE("(void) semi-stub"); TRACE("(void) semi-stub\n");
return MSVCRT_days; return MSVCRT_days;
} }
@ -469,7 +469,7 @@ const char* _Getmonths(void)
"April:May:May:Jun:June:Jul:July:Aug:August:Sep:September:Oct:" "April:May:May:Jun:June:Jul:July:Aug:August:Sep:September:Oct:"
"October:Nov:November:Dec:December"; "October:Nov:November:Dec:December";
/* FIXME: Use locale */ /* FIXME: Use locale */
TRACE("(void) semi-stub"); TRACE("(void) semi-stub\n");
return MSVCRT_months; return MSVCRT_months;
} }
@ -479,7 +479,7 @@ const char* _Getmonths(void)
const char* _Getnames(void) const char* _Getnames(void)
{ {
/* FIXME: */ /* FIXME: */
TRACE("(void) stub"); TRACE("(void) stub\n");
return ""; return "";
} }
@ -490,7 +490,7 @@ const char* _Strftime(char *out, unsigned int len, const char *fmt,
const void *tm, void *foo) const void *tm, void *foo)
{ {
/* FIXME: */ /* FIXME: */
TRACE("(%p %d %s %p %p) stub", out, len, fmt, tm, foo); TRACE("(%p %d %s %p %p) stub\n", out, len, fmt, tm, foo);
return ""; return "";
} }

View File

@ -719,7 +719,7 @@ MSVCRT_ldiv_t MSVCRT_ldiv(long num, long denom)
*/ */
void _adj_fdiv_m16i(void) void _adj_fdiv_m16i(void)
{ {
TRACE("(): stub"); TRACE("(): stub\n");
} }
/*********************************************************************** /***********************************************************************
@ -733,7 +733,7 @@ void _adj_fdiv_m16i(void)
*/ */
void _adj_fdiv_m32(void) void _adj_fdiv_m32(void)
{ {
TRACE("(): stub"); TRACE("(): stub\n");
} }
/*********************************************************************** /***********************************************************************
@ -747,7 +747,7 @@ void _adj_fdiv_m32(void)
*/ */
void _adj_fdiv_m32i(void) void _adj_fdiv_m32i(void)
{ {
TRACE("(): stub"); TRACE("(): stub\n");
} }
/*********************************************************************** /***********************************************************************
@ -761,7 +761,7 @@ void _adj_fdiv_m32i(void)
*/ */
void _adj_fdiv_m64(void) void _adj_fdiv_m64(void)
{ {
TRACE("(): stub"); TRACE("(): stub\n");
} }
/*********************************************************************** /***********************************************************************
@ -775,7 +775,7 @@ void _adj_fdiv_m64(void)
*/ */
void _adj_fdiv_r(void) void _adj_fdiv_r(void)
{ {
TRACE("(): stub"); TRACE("(): stub\n");
} }
/*********************************************************************** /***********************************************************************
@ -789,7 +789,7 @@ void _adj_fdiv_r(void)
*/ */
void _adj_fdivr_m16i(void) void _adj_fdivr_m16i(void)
{ {
TRACE("(): stub"); TRACE("(): stub\n");
} }
/*********************************************************************** /***********************************************************************
@ -803,7 +803,7 @@ void _adj_fdivr_m16i(void)
*/ */
void _adj_fdivr_m32(void) void _adj_fdivr_m32(void)
{ {
TRACE("(): stub"); TRACE("(): stub\n");
} }
/*********************************************************************** /***********************************************************************
@ -817,7 +817,7 @@ void _adj_fdivr_m32(void)
*/ */
void _adj_fdivr_m32i(void) void _adj_fdivr_m32i(void)
{ {
TRACE("(): stub"); TRACE("(): stub\n");
} }
/*********************************************************************** /***********************************************************************
@ -831,7 +831,7 @@ void _adj_fdivr_m32i(void)
*/ */
void _adj_fdivr_m64(void) void _adj_fdivr_m64(void)
{ {
TRACE("(): stub"); TRACE("(): stub\n");
} }
/*********************************************************************** /***********************************************************************
@ -845,7 +845,7 @@ void _adj_fdivr_m64(void)
*/ */
void _adj_fpatan(void) void _adj_fpatan(void)
{ {
TRACE("(): stub"); TRACE("(): stub\n");
} }
/*********************************************************************** /***********************************************************************
@ -859,7 +859,7 @@ void _adj_fpatan(void)
*/ */
void _adj_fprem(void) void _adj_fprem(void)
{ {
TRACE("(): stub"); TRACE("(): stub\n");
} }
/*********************************************************************** /***********************************************************************
@ -873,7 +873,7 @@ void _adj_fprem(void)
*/ */
void _adj_fprem1(void) void _adj_fprem1(void)
{ {
TRACE("(): stub"); TRACE("(): stub\n");
} }
/*********************************************************************** /***********************************************************************
@ -887,7 +887,7 @@ void _adj_fprem1(void)
*/ */
void _adj_fptan(void) void _adj_fptan(void)
{ {
TRACE("(): stub"); TRACE("(): stub\n");
} }
/*********************************************************************** /***********************************************************************
@ -898,7 +898,7 @@ void _adj_fptan(void)
*/ */
void _adjust_fdiv(void) void _adjust_fdiv(void)
{ {
TRACE("(): stub"); TRACE("(): stub\n");
} }
/*********************************************************************** /***********************************************************************
@ -912,7 +912,7 @@ void _adjust_fdiv(void)
*/ */
void _safe_fdiv(void) void _safe_fdiv(void)
{ {
TRACE("(): stub"); TRACE("(): stub\n");
} }
/*********************************************************************** /***********************************************************************
@ -926,7 +926,7 @@ void _safe_fdiv(void)
*/ */
void _safe_fdivr(void) void _safe_fdivr(void)
{ {
TRACE("(): stub"); TRACE("(): stub\n");
} }
/*********************************************************************** /***********************************************************************
@ -940,7 +940,7 @@ void _safe_fdivr(void)
*/ */
void _safe_fprem(void) void _safe_fprem(void)
{ {
TRACE("(): stub"); TRACE("(): stub\n");
} }
/*********************************************************************** /***********************************************************************
@ -955,7 +955,7 @@ void _safe_fprem(void)
*/ */
void _safe_fprem1(void) void _safe_fprem1(void)
{ {
TRACE("(): stub"); TRACE("(): stub\n");
} }

View File

@ -240,7 +240,7 @@ BOOL ODBC_LoadDMFunctions()
if (error[0]) if (error[0])
{ {
ERR("Failed to load function %s",gProxyHandle.functions[i].name); ERR("Failed to load function %s\n",gProxyHandle.functions[i].name);
gProxyHandle.functions[i].func = SQLDummyFunc; gProxyHandle.functions[i].func = SQLDummyFunc;
} }
} }
@ -550,9 +550,10 @@ SQLRETURN WINAPI SQLDataSources(SQLHENV EnvironmentHandle,
{ {
TRACE("returns: %d \t", ret); TRACE("returns: %d \t", ret);
if (*NameLength1 > 0) if (*NameLength1 > 0)
TRACE("DataSource = %s,", ServerName); DPRINTF("DataSource = %s,", ServerName);
if (*NameLength2 > 0) if (*NameLength2 > 0)
TRACE(" Description = %s\n", Description); DPRINTF(" Description = %s", Description);
DPRINTF("\n");
} }
return ret; return ret;

View File

@ -309,7 +309,7 @@ HRESULT WINAPI BindCtxImpl_SetBindOptions(IBindCtx* iface,LPBIND_OPTS2 pbindopts
if (pbindopts->cbStruct > sizeof(BIND_OPTS2)) if (pbindopts->cbStruct > sizeof(BIND_OPTS2))
{ {
WARN("invalid size"); WARN("invalid size\n");
return E_INVALIDARG; /* FIXME : not verified */ return E_INVALIDARG; /* FIXME : not verified */
} }
memcpy(&This->bindOption2, pbindopts, pbindopts->cbStruct); memcpy(&This->bindOption2, pbindopts, pbindopts->cbStruct);
@ -330,7 +330,7 @@ HRESULT WINAPI BindCtxImpl_GetBindOptions(IBindCtx* iface,LPBIND_OPTS2 pbindopts
if (pbindopts->cbStruct > sizeof(BIND_OPTS2)) if (pbindopts->cbStruct > sizeof(BIND_OPTS2))
{ {
WARN("invalid size"); WARN("invalid size\n");
return E_INVALIDARG; /* FIXME : not verified */ return E_INVALIDARG; /* FIXME : not verified */
} }
memcpy(pbindopts, &This->bindOption2, pbindopts->cbStruct); memcpy(pbindopts, &This->bindOption2, pbindopts->cbStruct);

View File

@ -340,8 +340,10 @@ HRESULT WINAPI CompositeMonikerImpl_Load(IMoniker* iface,IStream* pStm)
else if (IsEqualIID(&clsid,&CLSID_CompositeMoniker)) else if (IsEqualIID(&clsid,&CLSID_CompositeMoniker))
return E_FAIL; return E_FAIL;
else{ else
FIXME("()"); {
FIXME("()\n");
/* FIXME: To whoever wrote this code: It's either return or break. it cannot be both! */
break; break;
return E_NOTIMPL; return E_NOTIMPL;
} }

View File

@ -595,7 +595,7 @@ HRESULT WINAPI FileMonikerImpl_BindToObject(IMoniker* iface,
} }
if (pca!=NULL){ if (pca!=NULL){
FIXME("()"); FIXME("()\n");
/*res=GetClassFile(This->filePathName,&clsID); /*res=GetClassFile(This->filePathName,&clsID);
@ -610,7 +610,7 @@ HRESULT WINAPI FileMonikerImpl_BindToObject(IMoniker* iface,
} }
}*/ }*/
} }
} }
if (pObj!=NULL){ if (pObj!=NULL){
/* get the requested interface from the loaded class */ /* get the requested interface from the loaded class */

View File

@ -1062,7 +1062,7 @@ HRESULT WINAPI SafeArrayGetVarType(
if (psa->fFeatures & FADF_HAVEVARTYPE) if (psa->fFeatures & FADF_HAVEVARTYPE)
{ {
/* VT tag @ negative offset 4 in the array descriptor */ /* VT tag @ negative offset 4 in the array descriptor */
FIXME("Returning VT_BSTR instead of VT_..."); FIXME("Returning VT_BSTR instead of VT_...\n");
vt = VT_BSTR; vt = VT_BSTR;
} }
else if (psa->fFeatures & FADF_RECORD) else if (psa->fFeatures & FADF_RECORD)
@ -1083,7 +1083,7 @@ HRESULT WINAPI SafeArrayGetVarType(
*pvt = vt; *pvt = vt;
hr = S_OK; hr = S_OK;
} }
TRACE("HRESULT = %08lx", hr); TRACE("HRESULT = %08lx\n", hr);
return hr; return hr;
} }

View File

@ -18,7 +18,7 @@
* - locale stuff is partially implemented but hasn't been tested. * - locale stuff is partially implemented but hasn't been tested.
* *
* - imported typelib should be stored together in a linked list instead of having * - imported typelib should be stored together in a linked list instead of having
* independant TLBImpLib strucutures in each ITypeInfo. This way, imported libraries * independant TLBImpLib structures in each ITypeInfo. This way, imported libraries
* are just imported once (major optimization) * are just imported once (major optimization)
* *
* - typelib file is still read it's in entirety, but it is released now. * - typelib file is still read it's in entirety, but it is released now.
@ -372,7 +372,7 @@ DWORD WINAPI OaBuildVersion16(void)
case 0x00000004: /* NT4 */ case 0x00000004: /* NT4 */
return MAKELONG(4277, 40); /* NT4 SP6 */ return MAKELONG(4277, 40); /* NT4 SP6 */
default: default:
FIXME("Version value not known yet. Please investigate it !"); FIXME("Version value not known yet. Please investigate it!\n");
return 0; return 0;
} }
} }
@ -649,7 +649,7 @@ static void dump_Variant(VARIANT * pvar)
break; break;
} }
TRACE("VARTYPE: %s", szVarType); TRACE("VARTYPE: %s\n", szVarType);
switch (V_VT(pvar)) switch (V_VT(pvar))
{ {

View File

@ -288,7 +288,7 @@ BOOL WINAPI InitializeProcessForWsWatch(HANDLE hProcess)
*/ */
BOOL WINAPI QueryWorkingSet(HANDLE hProcess, LPVOID pv, DWORD cb) BOOL WINAPI QueryWorkingSet(HANDLE hProcess, LPVOID pv, DWORD cb)
{ {
FIXME("(hProcess=0x%08x, %p, %ld)", hProcess, pv, cb); FIXME("(hProcess=0x%08x, %p, %ld)\n", hProcess, pv, cb);
if(pv && cb) if(pv && cb)
((DWORD *) pv)[0] = 0; /* Empty WorkingSet */ ((DWORD *) pv)[0] = 0; /* Empty WorkingSet */

View File

@ -259,7 +259,7 @@ sizeof((i).ifr_name)+(i).ifr_addr.sa_len)
((unsigned char*)Uuid->Data4)[6] = a[4]; ((unsigned char*)Uuid->Data4)[6] = a[4];
((unsigned char*)Uuid->Data4)[7] = a[5]; ((unsigned char*)Uuid->Data4)[7] = a[5];
TRACE("%s", debugstr_guid(Uuid)); TRACE("%s\n", debugstr_guid(Uuid));
return S_OK; return S_OK;
} }

View File

@ -816,9 +816,9 @@ void WINAPI FreeIconList( DWORD dw )
HRESULT WINAPI SHELL32_DllGetVersion (DLLVERSIONINFO *pdvi) HRESULT WINAPI SHELL32_DllGetVersion (DLLVERSIONINFO *pdvi)
{ {
if (pdvi->cbSize != sizeof(DLLVERSIONINFO)) if (pdvi->cbSize != sizeof(DLLVERSIONINFO))
{ {
WARN("wrong DLLVERSIONINFO size from app"); WARN("wrong DLLVERSIONINFO size from app\n");
return E_INVALIDARG; return E_INVALIDARG;
} }

View File

@ -40,7 +40,7 @@ BOOL SHELL_WarnItemDelete (int nKindOfDialog, LPCSTR szDir)
szCaption, sizeof(szCaption)); szCaption, sizeof(szCaption));
} }
else { else {
FIXME("Called without a valid nKindOfDialog specified!"); FIXME("Called without a valid nKindOfDialog specified!\n");
LoadStringA(shell32_hInstance, IDS_DELETEITEM_TEXT, szText, LoadStringA(shell32_hInstance, IDS_DELETEITEM_TEXT, szText,
sizeof(szText)); sizeof(szText));
LoadStringA(shell32_hInstance, IDS_DELETEITEM_CAPTION, LoadStringA(shell32_hInstance, IDS_DELETEITEM_CAPTION,

View File

@ -1518,7 +1518,7 @@ static HRESULT WINAPI ISFHelper_fnDeleteItems(
TRACE("delete %s\n", szPath); TRACE("delete %s\n", szPath);
if (! SHELL_DeleteDirectoryA(szPath, bConfirm)) if (! SHELL_DeleteDirectoryA(szPath, bConfirm))
{ {
TRACE("delete %s failed, bConfirm=%d", szPath, bConfirm); TRACE("delete %s failed, bConfirm=%d\n", szPath, bConfirm);
return E_FAIL; return E_FAIL;
} }
pidl = ILCombine(This->absPidl, apidl[i]); pidl = ILCombine(This->absPidl, apidl[i]);
@ -1532,7 +1532,7 @@ static HRESULT WINAPI ISFHelper_fnDeleteItems(
TRACE("delete %s\n", szPath); TRACE("delete %s\n", szPath);
if (! SHELL_DeleteFileA(szPath, bConfirm)) if (! SHELL_DeleteFileA(szPath, bConfirm))
{ {
TRACE("delete %s failed, bConfirm=%d", szPath, bConfirm); TRACE("delete %s failed, bConfirm=%d\n", szPath, bConfirm);
return E_FAIL; return E_FAIL;
} }
pidl = ILCombine(This->absPidl, apidl[i]); pidl = ILCombine(This->absPidl, apidl[i]);

View File

@ -1554,7 +1554,7 @@ static HRESULT WINAPI IShellView_fnTranslateAccelerator(IShellView * iface,LPMSG
if ((lpmsg->message>=WM_KEYFIRST) && (lpmsg->message>=WM_KEYLAST)) if ((lpmsg->message>=WM_KEYFIRST) && (lpmsg->message>=WM_KEYLAST))
{ {
TRACE("-- key=0x04%x",lpmsg->wParam) ; TRACE("-- key=0x04%x\n",lpmsg->wParam) ;
} }
return S_FALSE; /* not handled */ return S_FALSE; /* not handled */
} }

View File

@ -62,9 +62,9 @@ BOOL WINAPI SHLWAPI_LibMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad
HRESULT WINAPI SHLWAPI_DllGetVersion (DLLVERSIONINFO *pdvi) HRESULT WINAPI SHLWAPI_DllGetVersion (DLLVERSIONINFO *pdvi)
{ {
if (pdvi->cbSize != sizeof(DLLVERSIONINFO)) if (pdvi->cbSize != sizeof(DLLVERSIONINFO))
{ {
WARN("wrong DLLVERSIONINFO size from app"); WARN("wrong DLLVERSIONINFO size from app\n");
return E_INVALIDARG; return E_INVALIDARG;
} }

View File

@ -37,7 +37,7 @@ BOOL TTYDRV_PALETTE_Initialize(void)
COLOR_sysPal = (PALETTEENTRY *) HeapAlloc(GetProcessHeap(), 0, sizeof(PALETTEENTRY) * TTYDRV_DC_DevCaps.sizePalette); COLOR_sysPal = (PALETTEENTRY *) HeapAlloc(GetProcessHeap(), 0, sizeof(PALETTEENTRY) * TTYDRV_DC_DevCaps.sizePalette);
if(COLOR_sysPal == NULL) { if(COLOR_sysPal == NULL) {
WARN("No memory to create system palette!"); WARN("No memory to create system palette!\n");
return FALSE; return FALSE;
} }

View File

@ -348,8 +348,8 @@ INT WINAPI LoadStringW( HINSTANCE instance, UINT resource_id,
if (HIWORD(resource_id)==0xFFFF) /* netscape 3 passes this */ if (HIWORD(resource_id)==0xFFFF) /* netscape 3 passes this */
resource_id = (UINT)(-((INT)resource_id)); resource_id = (UINT)(-((INT)resource_id));
TRACE("instance = %04x, id = %04x, buffer = %08x, " TRACE("instance = %04x, id = %04x, buffer = %08x, length = %d\n",
"length = %d\n", instance, (int)resource_id, (int) buffer, buflen); instance, (int)resource_id, (int) buffer, buflen);
/* Use bits 4 - 19 (incremented by 1) as resourceid, mask out /* Use bits 4 - 19 (incremented by 1) as resourceid, mask out
* 20 - 31. */ * 20 - 31. */
@ -394,8 +394,8 @@ INT WINAPI LoadStringA( HINSTANCE instance, UINT resource_id,
INT retval; INT retval;
LPWSTR wbuf; LPWSTR wbuf;
TRACE("instance = %04x, id = %04x, buffer = %08x, " TRACE("instance = %04x, id = %04x, buffer = %08x, length = %d\n",
"length = %d\n", instance, (int)resource_id, (int) buffer, buflen); instance, (int)resource_id, (int) buffer, buflen);
if(buffer == NULL) /* asked size of string */ if(buffer == NULL) /* asked size of string */
return LoadStringW(instance, resource_id, NULL, 0); return LoadStringW(instance, resource_id, NULL, 0);

View File

@ -121,7 +121,7 @@ DWORD WINAPI VerFindFileA(
char systemDir[MAX_PATH]; char systemDir[MAX_PATH];
/* Print out debugging information */ /* Print out debugging information */
TRACE("flags = %x filename=%s windir=%s appdir=%s curdirlen=%p(%u) destdirlen=%p(%u)", TRACE("flags = %x filename=%s windir=%s appdir=%s curdirlen=%p(%u) destdirlen=%p(%u)\n",
flags, debugstr_a(lpszFilename), debugstr_a(lpszWinDir), debugstr_a(lpszAppDir), flags, debugstr_a(lpszFilename), debugstr_a(lpszWinDir), debugstr_a(lpszAppDir),
lpuCurDirLen, lpuCurDirLen ? *lpuCurDirLen : 0, lpuCurDirLen, lpuCurDirLen ? *lpuCurDirLen : 0,
lpuDestDirLen, lpuDestDirLen ? *lpuDestDirLen : 0 ); lpuDestDirLen, lpuDestDirLen ? *lpuDestDirLen : 0 );
@ -212,7 +212,7 @@ DWORD WINAPI VerFindFileW( UINT flags,LPCWSTR lpszFilename,LPCWSTR lpszWinDir,
WCHAR systemDir[MAX_PATH]; WCHAR systemDir[MAX_PATH];
/* Print out debugging information */ /* Print out debugging information */
TRACE("flags = %x filename=%s windir=%s appdir=%s curdirlen=%p(%u) destdirlen=%p(%u)", TRACE("flags = %x filename=%s windir=%s appdir=%s curdirlen=%p(%u) destdirlen=%p(%u)\n",
flags, debugstr_w(lpszFilename), debugstr_w(lpszWinDir), debugstr_w(lpszAppDir), flags, debugstr_w(lpszFilename), debugstr_w(lpszWinDir), debugstr_w(lpszAppDir),
lpuCurDirLen, lpuCurDirLen ? *lpuCurDirLen : 0, lpuCurDirLen, lpuCurDirLen ? *lpuCurDirLen : 0,
lpuDestDirLen, lpuDestDirLen ? *lpuDestDirLen : 0 ); lpuDestDirLen, lpuDestDirLen ? *lpuDestDirLen : 0 );
@ -295,7 +295,7 @@ _fetch_versioninfo(LPSTR fn,VS_FIXEDFILEINFO **vffi) {
alloclen = 1000; alloclen = 1000;
buf=HeapAlloc(GetProcessHeap(), 0, alloclen); buf=HeapAlloc(GetProcessHeap(), 0, alloclen);
if(buf == NULL) { if(buf == NULL) {
WARN("Memory exausted while fetching version info!"); WARN("Memory exausted while fetching version info!\n");
return NULL; return NULL;
} }
while (1) { while (1) {
@ -309,7 +309,7 @@ _fetch_versioninfo(LPSTR fn,VS_FIXEDFILEINFO **vffi) {
HeapFree(GetProcessHeap(), 0, buf); HeapFree(GetProcessHeap(), 0, buf);
buf = HeapAlloc(GetProcessHeap(), 0, alloclen); buf = HeapAlloc(GetProcessHeap(), 0, alloclen);
if(buf == NULL) { if(buf == NULL) {
WARN("Memory exausted while fetching version info!"); WARN("Memory exausted while fetching version info!\n");
return NULL; return NULL;
} }
} else { } else {

View File

@ -95,7 +95,7 @@ static void set_last_error(void)
SetLastError( ERROR_BAD_FORMAT ); SetLastError( ERROR_BAD_FORMAT );
break; break;
default: default:
WARN( "unknown file error: %s", strerror(save_errno) ); WARN( "unknown file error: %s\n", strerror(save_errno) );
SetLastError( ERROR_GEN_FAILURE ); SetLastError( ERROR_GEN_FAILURE );
break; break;
} }

View File

@ -909,7 +909,7 @@ BOOL WINAPI InternetQueryOptionA(HINTERNET hInternet, DWORD dwOption,
} }
default: default:
FIXME("Stub!"); FIXME("Stub!\n");
break; break;
} }
@ -986,7 +986,7 @@ BOOL WINAPI InternetCheckConnectionA( LPCSTR lpszUrl, DWORD dwFlags, DWORD dwRes
* *
* So someone needs to implement this. * So someone needs to implement this.
*/ */
FIXME("Unimplemented with URL of NULL"); FIXME("Unimplemented with URL of NULL\n");
return TRUE; return TRUE;
} }
else else

View File

@ -35,7 +35,7 @@ static WORD DRIVER_GetNumberOfModuleRefs(LPWINE_DRIVER lpNewDrv)
LPWINE_DRIVER lpDrv; LPWINE_DRIVER lpDrv;
WORD count = 0; WORD count = 0;
if (lpNewDrv->dwFlags & WINE_GDF_16BIT) ERR("OOOch"); if (lpNewDrv->dwFlags & WINE_GDF_16BIT) ERR("OOOch\n");
for (lpDrv = lpDrvItemList; lpDrv; lpDrv = lpDrv->lpNextItem) { for (lpDrv = lpDrvItemList; lpDrv; lpDrv = lpDrv->lpNextItem) {
if (!(lpDrv->dwFlags & WINE_GDF_16BIT) && if (!(lpDrv->dwFlags & WINE_GDF_16BIT) &&
lpDrv->d.d32.hModule == lpNewDrv->d.d32.hModule) { lpDrv->d.d32.hModule == lpNewDrv->d.d32.hModule) {

View File

@ -732,7 +732,7 @@ static DWORD MCI_ParseOptArgs(LPDWORD data, int _offset, LPCSTR lpCmd,
if ((dwRet = MCI_GetString((LPSTR*)&data[offset], &args))) if ((dwRet = MCI_GetString((LPSTR*)&data[offset], &args)))
return dwRet; return dwRet;
break; break;
default: ERR("oops"); default: ERR("oops\n");
} }
/* exit inside while loop, except if just entered in constant area definition */ /* exit inside while loop, except if just entered in constant area definition */
if (!inCst || eid != MCI_CONSTANT) eid = MCI_END_COMMAND; if (!inCst || eid != MCI_CONSTANT) eid = MCI_END_COMMAND;
@ -749,7 +749,7 @@ static DWORD MCI_ParseOptArgs(LPDWORD data, int _offset, LPCSTR lpCmd,
case MCI_END_CONSTANT: case MCI_END_CONSTANT:
case MCI_STRING: offset++; break; case MCI_STRING: offset++; break;
case MCI_RECT: offset += 4; break; case MCI_RECT: offset += 4; break;
default: ERR("oops"); default: ERR("oops\n");
} }
} }
} while (eid != MCI_END_COMMAND); } while (eid != MCI_END_COMMAND);

View File

@ -457,7 +457,7 @@ DWORD MCIAVI_OpenAudio(WINE_MCIAVI* wma, unsigned* nHdr, LPWAVEHDR* pWaveHdr)
} }
if (wma->dwCurrVideoFrame != 0 && wma->lpWaveFormat) { if (wma->dwCurrVideoFrame != 0 && wma->lpWaveFormat) {
FIXME("Should recompute dwCurrAudioBlock, except unsynchronized sound & video"); FIXME("Should recompute dwCurrAudioBlock, except unsynchronized sound & video\n");
} }
wma->dwCurrAudioBlock = 0; wma->dwCurrAudioBlock = 0;

View File

@ -164,7 +164,7 @@ DWORD MCIAVI_mciWhere(UINT wDevID, DWORD dwFlags, LPMCI_DGV_RECT_PARMS lpParms)
GetClientRect(wma->hWnd, &lpParms->rc); GetClientRect(wma->hWnd, &lpParms->rc);
} }
if (dwFlags & MCI_DGV_WHERE_FRAME) { if (dwFlags & MCI_DGV_WHERE_FRAME) {
FIXME(x = "Frame"); FIXME(x = "Frame\n");
return MCIERR_UNRECOGNIZED_COMMAND; return MCIERR_UNRECOGNIZED_COMMAND;
} }
if (dwFlags & MCI_DGV_WHERE_SOURCE) { if (dwFlags & MCI_DGV_WHERE_SOURCE) {
@ -174,7 +174,7 @@ DWORD MCIAVI_mciWhere(UINT wDevID, DWORD dwFlags, LPMCI_DGV_RECT_PARMS lpParms)
lpParms->rc.bottom = wma->mah.dwHeight; lpParms->rc.bottom = wma->mah.dwHeight;
} }
if (dwFlags & MCI_DGV_WHERE_VIDEO) { if (dwFlags & MCI_DGV_WHERE_VIDEO) {
FIXME(x = "Video"); FIXME(x = "Video\n");
return MCIERR_UNRECOGNIZED_COMMAND; return MCIERR_UNRECOGNIZED_COMMAND;
} }
if (dwFlags & MCI_DGV_WHERE_WINDOW) { if (dwFlags & MCI_DGV_WHERE_WINDOW) {

View File

@ -241,7 +241,7 @@ static DWORD MCICDA_Open(UINT wDevID, DWORD dwFlags, LPMCI_OPEN_PARMSA lpOpenPar
} }
if (dwFlags & MCI_OPEN_ELEMENT) { if (dwFlags & MCI_OPEN_ELEMENT) {
if (dwFlags & MCI_OPEN_ELEMENT_ID) { if (dwFlags & MCI_OPEN_ELEMENT_ID) {
WARN("MCI_OPEN_ELEMENT_ID %8lx ! Abort", (DWORD)lpOpenParms->lpstrElementName); WARN("MCI_OPEN_ELEMENT_ID %8lx ! Abort\n", (DWORD)lpOpenParms->lpstrElementName);
return MCIERR_NO_ELEMENT_ALLOWED; return MCIERR_NO_ELEMENT_ALLOWED;
} }
WARN("MCI_OPEN_ELEMENT %s ignored\n",lpOpenParms->lpstrElementName); WARN("MCI_OPEN_ELEMENT %s ignored\n",lpOpenParms->lpstrElementName);

View File

@ -1864,7 +1864,7 @@ static DWORD CALLBACK widRecorder(LPVOID pmt)
switch (msg.message) { switch (msg.message) {
case WINE_WM_PAUSING: case WINE_WM_PAUSING:
wwi->state = WINE_WS_PAUSED; wwi->state = WINE_WS_PAUSED;
/*FIXME("Device should stop recording");*/ /*FIXME("Device should stop recording\n");*/
SetEvent(wwi->hEvent); SetEvent(wwi->hEvent);
break; break;
case WINE_WM_RESTARTING: case WINE_WM_RESTARTING:

View File

@ -993,8 +993,7 @@ int PROFILE_GetWineIniBool(
retval = def; retval = def;
} }
TRACE("(\"%s\", \"%s\", %s), " TRACE("(\"%s\", \"%s\", %s), [%c], ret %s.\n", section, key_name,
"[%c], ret %s.\n", section, key_name,
def ? "TRUE" : "FALSE", key_value[0], def ? "TRUE" : "FALSE", key_value[0],
retval ? "TRUE" : "FALSE"); retval ? "TRUE" : "FALSE");

View File

@ -234,7 +234,7 @@ BOOL WIN16DRV_CreateDC( DC *dc, LPCSTR driver, LPCSTR device, LPCSTR output,
printerDevCaps = (DeviceCaps *) calloc(1, sizeof(DeviceCaps)); printerDevCaps = (DeviceCaps *) calloc(1, sizeof(DeviceCaps));
if(printerDevCaps == NULL) { if(printerDevCaps == NULL) {
ERR("No memory to read the device capabilities!"); ERR("No memory to read the device capabilities!\n");
HeapFree( GetProcessHeap(), 0, physDev ); HeapFree( GetProcessHeap(), 0, physDev );
return FALSE; return FALSE;
} }

View File

@ -891,7 +891,7 @@ int X11DRV_PALETTE_SetMapping( PALETTEOBJ* palPtr, UINT uStart, UINT uNum, BOOL
mapping = HeapReAlloc( GetProcessHeap(), 0, palPtr->mapping, mapping = HeapReAlloc( GetProcessHeap(), 0, palPtr->mapping,
sizeof(int)*palPtr->logpalette.palNumEntries); sizeof(int)*palPtr->logpalette.palNumEntries);
if(mapping == NULL) { if(mapping == NULL) {
ERR("Can not allocate new mapping -- memory exausted!"); ERR("Can not allocate new mapping -- memory exausted!\n");
return 0; return 0;
} }
palPtr->mapping = mapping; palPtr->mapping = mapping;

View File

@ -1435,7 +1435,7 @@ UINT WINAPI GlobalFlags(
} }
else else
{ {
WARN("Invalid handle: %04x", hmem); WARN("Invalid handle: %04x\n", hmem);
retval=0; retval=0;
} }
/* HeapUnlock(GetProcessHeap()); */ /* HeapUnlock(GetProcessHeap()); */

View File

@ -479,12 +479,12 @@ else {
(AH_reg(context) == 0x09) ? BL_reg(context) : -1, (AH_reg(context) == 0x09) ? BL_reg(context) : -1,
CX_reg(context)); CX_reg(context));
if (CX_reg(context) > 1) if (CX_reg(context) > 1)
TRACE("Write Character%s at Cursor Position " TRACE("Write Character%s at Cursor Position (Rep. %d): %c\n",
"(Rep. %d): %c\n", (AH_reg(context) == 0x09) ? " and Attribute" : "", (AH_reg(context) == 0x09) ? " and Attribute" : "",
CX_reg(context), AL_reg(context)); CX_reg(context), AL_reg(context));
else else
TRACE("Write Character%s at Cursor " TRACE("Write Character%s at Cursor Position: %c\n",
"Position: %c\n", (AH_reg(context) == 0x09) ? " and Attribute" : "", (AH_reg(context) == 0x09) ? " and Attribute" : "",
AL_reg(context)); AL_reg(context));
} }
break; break;

View File

@ -1739,7 +1739,7 @@ void WINAPI DOS3Call( CONTEXT86 *context )
case 0x52: /* DR-DOS version */ case 0x52: /* DR-DOS version */
/* This is not DR-DOS */ /* This is not DR-DOS */
TRACE("GET DR-DOS VERSION requested"); TRACE("GET DR-DOS VERSION requested\n");
AX_reg(context) = 0x0001; /* Invalid function */ AX_reg(context) = 0x0001; /* Invalid function */
SET_CFLAG(context); /* Error */ SET_CFLAG(context); /* Error */

View File

@ -95,7 +95,7 @@ static void set_timer_maxval(unsigned timer, unsigned maxval)
Dosvm.SetTimer(maxval); Dosvm.SetTimer(maxval);
break; break;
case 1: /* RAM refresh */ case 1: /* RAM refresh */
FIXME("RAM refresh counter handling not implemented !"); FIXME("RAM refresh counter handling not implemented !\n");
break; break;
case 2: /* cassette & speaker */ case 2: /* cassette & speaker */
/* speaker on ? */ /* speaker on ? */

View File

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

View File

@ -796,7 +796,7 @@ BOOL WINAPI EmptyClipboard(void)
if (hClipLock != GetCurrentTask()) if (hClipLock != GetCurrentTask())
{ {
WARN("Clipboard not opened by calling task!"); WARN("Clipboard not opened by calling task!\n");
return FALSE; return FALSE;
} }
@ -1046,7 +1046,7 @@ HANDLE WINAPI GetClipboardData( UINT wFormat )
if (CLIPBOARD_IsLocked()) if (CLIPBOARD_IsLocked())
{ {
WARN("Clipboard not opened by calling task!"); WARN("Clipboard not opened by calling task!\n");
return 0; return 0;
} }
@ -1168,7 +1168,7 @@ UINT WINAPI EnumClipboardFormats( UINT wFormat )
if (CLIPBOARD_IsLocked()) if (CLIPBOARD_IsLocked())
{ {
WARN("Clipboard not opened by calling task!"); WARN("Clipboard not opened by calling task!\n");
return 0; return 0;
} }
@ -1207,7 +1207,7 @@ UINT16 WINAPI RegisterClipboardFormat16( LPCSTR FormatName )
lpNewFormat = (LPWINE_CLIPFORMAT)HeapAlloc(GetProcessHeap(), 0, sizeof(WINE_CLIPFORMAT)); lpNewFormat = (LPWINE_CLIPFORMAT)HeapAlloc(GetProcessHeap(), 0, sizeof(WINE_CLIPFORMAT));
if(lpNewFormat == NULL) { if(lpNewFormat == NULL) {
WARN("No more memory for a new format!"); WARN("No more memory for a new format!\n");
return 0; return 0;
} }
lpFormat->NextFormat = lpNewFormat; lpFormat->NextFormat = lpNewFormat;
@ -1216,7 +1216,7 @@ UINT16 WINAPI RegisterClipboardFormat16( LPCSTR FormatName )
lpNewFormat->Name = (LPSTR)HEAP_strdupA(GetProcessHeap(), 0, FormatName); lpNewFormat->Name = (LPSTR)HEAP_strdupA(GetProcessHeap(), 0, FormatName);
if(lpNewFormat->Name == NULL) { if(lpNewFormat->Name == NULL) {
WARN("No more memory for the new format name!"); WARN("No more memory for the new format name!\n");
HeapFree(GetProcessHeap(), 0, lpNewFormat); HeapFree(GetProcessHeap(), 0, lpNewFormat);
return 0; return 0;
} }

View File

@ -70,7 +70,7 @@ void DEFWND_SetTextA( WND *wndPtr, LPCSTR text )
if ((wndPtr->text = HeapAlloc(GetProcessHeap(), 0, count * sizeof(WCHAR)))) if ((wndPtr->text = HeapAlloc(GetProcessHeap(), 0, count * sizeof(WCHAR))))
MultiByteToWideChar( CP_ACP, 0, text, -1, wndPtr->text, count ); MultiByteToWideChar( CP_ACP, 0, text, -1, wndPtr->text, count );
else else
ERR("Not enough memory for window text"); ERR("Not enough memory for window text\n");
if (USER_Driver.pSetWindowText) if (USER_Driver.pSetWindowText)
USER_Driver.pSetWindowText(wndPtr->hwndSelf, wndPtr->text); USER_Driver.pSetWindowText(wndPtr->hwndSelf, wndPtr->text);
@ -93,7 +93,7 @@ void DEFWND_SetTextW( WND *wndPtr, LPCWSTR text )
if ((wndPtr->text = HeapAlloc(GetProcessHeap(), 0, count * sizeof(WCHAR)))) if ((wndPtr->text = HeapAlloc(GetProcessHeap(), 0, count * sizeof(WCHAR))))
strcpyW( wndPtr->text, text ); strcpyW( wndPtr->text, text );
else else
ERR("Not enough memory for window text"); ERR("Not enough memory for window text\n");
if (USER_Driver.pSetWindowText) if (USER_Driver.pSetWindowText)
USER_Driver.pSetWindowText(wndPtr->hwndSelf, wndPtr->text); USER_Driver.pSetWindowText(wndPtr->hwndSelf, wndPtr->text);

View File

@ -268,11 +268,11 @@ INT WINAPI ScrollWindowEx( HWND hwnd, INT dx, INT dy,
HRGN hrgnTemp = CreateRectRgnIndirect(&rc); HRGN hrgnTemp = CreateRectRgnIndirect(&rc);
RECT caretrc; RECT caretrc;
TRACE("%04x, %d,%d hrgnUpdate=%04x rcUpdate = %p \ TRACE("%04x, %d,%d hrgnUpdate=%04x rcUpdate = %p cliprc = (%d,%d-%d,%d), rc=(%d,%d-%d,%d) %04x\n",
cliprc = (%d,%d-%d,%d), rc=(%d,%d-%d,%d) %04x\n", (HWND16)hwnd, dx, dy, hrgnUpdate, rcUpdate,
(HWND16)hwnd, dx, dy, hrgnUpdate, rcUpdate, clipRect?clipRect->left:0, clipRect?clipRect->top:0,
clipRect?clipRect->left:0, clipRect?clipRect->top:0, clipRect?clipRect->right:0, clipRect?clipRect->bottom:0, clipRect?clipRect->right:0, clipRect?clipRect->bottom:0,
rc.left, rc.top, rc.right, rc.bottom, (UINT16)flags ); rc.left, rc.top, rc.right, rc.bottom, (UINT16)flags );
caretrc = rc; caretrc = rc;
bCaret = SCROLL_FixCaret(hwnd, &caretrc, flags); bCaret = SCROLL_FixCaret(hwnd, &caretrc, flags);

View File

@ -1061,7 +1061,7 @@ static Atom EVENT_SelectionRequest_TARGETS( Window requestor, Atom target, Atom
} }
/* Update the X property */ /* Update the X property */
TRACE("\tUpdating property %s...", TSXGetAtomName(display, rprop)); TRACE("\tUpdating property %s...\n", TSXGetAtomName(display, rprop));
/* We may want to consider setting the type to xaTargets instead, /* We may want to consider setting the type to xaTargets instead,
* in case some apps expect this instead of XA_ATOM */ * in case some apps expect this instead of XA_ATOM */
@ -1363,7 +1363,7 @@ static Atom EVENT_SelectionRequest_MULTIPLE( HWND hWnd, XSelectionRequestEvent *
/* We must have a non "None" property to service a MULTIPLE target atom */ /* We must have a non "None" property to service a MULTIPLE target atom */
if ( !targetPropList[i+1] ) if ( !targetPropList[i+1] )
{ {
TRACE("\tMULTIPLE(%d): Skipping target with empty property!", i); TRACE("\tMULTIPLE(%d): Skipping target with empty property!\n", i);
continue; continue;
} }
@ -1502,7 +1502,7 @@ static void EVENT_SelectionClear( HWND hWnd, XSelectionClearEvent *event )
static void EVENT_PropertyNotify( XPropertyEvent *event ) static void EVENT_PropertyNotify( XPropertyEvent *event )
{ {
/* Check if we have any resources to free */ /* Check if we have any resources to free */
TRACE("Received PropertyNotify event: "); TRACE("Received PropertyNotify event: \n");
switch(event->state) switch(event->state)
{ {

View File

@ -692,7 +692,7 @@ void X11DRV_KEYBOARD_UpdateState ( void )
TRACE("called\n"); TRACE("called\n");
if (!TSXQueryKeymap(display, keys_return)) { if (!TSXQueryKeymap(display, keys_return)) {
ERR("Error getting keymap !"); ERR("Error getting keymap !\n");
return; return;
} }
@ -850,7 +850,7 @@ X11DRV_KEYBOARD_DetectLayout (void)
syms = keysyms_per_keycode; syms = keysyms_per_keycode;
if (syms > 4) { if (syms > 4) {
WARN("%d keysyms per keycode not supported, set to 4", syms); WARN("%d keysyms per keycode not supported, set to 4\n", syms);
syms = 4; syms = 4;
} }
for (current = 0; main_key_tab[current].comment; current++) { for (current = 0; main_key_tab[current].comment; current++) {

View File

@ -842,7 +842,7 @@ Atom EVENT_SelectionRequest_MULTIPLE( XSelectionRequestEvent *pevent )
/* We must have a non "None" property to service a MULTIPLE target atom */ /* We must have a non "None" property to service a MULTIPLE target atom */
if ( !targetPropList[i+1] ) if ( !targetPropList[i+1] )
{ {
TRACE("\tMULTIPLE(%d): Skipping target with empty property!", i); TRACE("\tMULTIPLE(%d): Skipping target with empty property!\n", i);
continue; continue;
} }