Commit 6b6ed724 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

Add missing '\n's to debug traces.

parent c3eac438
...@@ -4746,7 +4746,7 @@ static BOOL translate_accelerator( HWND hWnd, UINT message, WPARAM wParam, LPARA ...@@ -4746,7 +4746,7 @@ static BOOL translate_accelerator( HWND hWnd, UINT message, WPARAM wParam, LPARA
*/ */
TRACE_(accel)(", but won't send WM_{SYS}COMMAND, reason is #%d\n",mesg); TRACE_(accel)(", but won't send WM_{SYS}COMMAND, reason is #%d\n",mesg);
if(mesg==0) if(mesg==0)
ERR_(accel)(" unknown reason - please report!"); ERR_(accel)(" unknown reason - please report!\n");
} }
return TRUE; return TRUE;
} }
......
...@@ -1806,7 +1806,7 @@ static BOOL ParseStringAclToAcl(LPCWSTR StringAcl, LPDWORD lpdwFlags, ...@@ -1806,7 +1806,7 @@ static BOOL ParseStringAclToAcl(LPCWSTR StringAcl, LPDWORD lpdwFlags,
/* Parse ACE object guid */ /* Parse ACE object guid */
if (*StringAcl != ';') if (*StringAcl != ';')
{ {
FIXME("Support for *_OBJECT_ACE_TYPE not implemented"); FIXME("Support for *_OBJECT_ACE_TYPE not implemented\n");
goto lerr; goto lerr;
} }
StringAcl++; StringAcl++;
...@@ -1814,7 +1814,7 @@ static BOOL ParseStringAclToAcl(LPCWSTR StringAcl, LPDWORD lpdwFlags, ...@@ -1814,7 +1814,7 @@ static BOOL ParseStringAclToAcl(LPCWSTR StringAcl, LPDWORD lpdwFlags,
/* Parse ACE inherit object guid */ /* Parse ACE inherit object guid */
if (*StringAcl != ';') if (*StringAcl != ';')
{ {
FIXME("Support for *_OBJECT_ACE_TYPE not implemented"); FIXME("Support for *_OBJECT_ACE_TYPE not implemented\n");
goto lerr; goto lerr;
} }
StringAcl++; StringAcl++;
......
...@@ -771,7 +771,7 @@ static HRESULT WINAPI IAVIEditStream_fnSetInfo(IAVIEditStream*iface, ...@@ -771,7 +771,7 @@ static HRESULT WINAPI IAVIEditStream_fnSetInfo(IAVIEditStream*iface,
{ {
ICOM_THIS(IAVIEditStreamImpl,iface); ICOM_THIS(IAVIEditStreamImpl,iface);
TRACE("(%p,%p,%ld)",iface,asi,size); TRACE("(%p,%p,%ld)\n",iface,asi,size);
/* check parameters */ /* check parameters */
if (asi == NULL) if (asi == NULL)
...@@ -1061,7 +1061,7 @@ static HRESULT WINAPI IEditAVIStream_fnWrite(IAVIStream*iface,LONG start, ...@@ -1061,7 +1061,7 @@ static HRESULT WINAPI IEditAVIStream_fnWrite(IAVIStream*iface,LONG start,
LONG buffersize,DWORD flags, LONG buffersize,DWORD flags,
LONG*sampwritten,LONG*byteswritten) LONG*sampwritten,LONG*byteswritten)
{ {
TRACE("(%p,%ld,%ld,%p,%ld,0x%08lX,%p,%p)",iface,start,samples,buffer, TRACE("(%p,%ld,%ld,%p,%ld,0x%08lX,%p,%p)\n",iface,start,samples,buffer,
buffersize,flags,sampwritten,byteswritten); buffersize,flags,sampwritten,byteswritten);
/* be sure return parameters have correct values */ /* be sure return parameters have correct values */
...@@ -1089,7 +1089,7 @@ static HRESULT WINAPI IEditAVIStream_fnReadData(IAVIStream*iface,DWORD fcc, ...@@ -1089,7 +1089,7 @@ static HRESULT WINAPI IEditAVIStream_fnReadData(IAVIStream*iface,DWORD fcc,
IAVIEditStreamImpl* const This = ((IEditAVIStreamImpl* const)iface)->pae; IAVIEditStreamImpl* const This = ((IEditAVIStreamImpl* const)iface)->pae;
DWORD n; DWORD n;
TRACE("(%p,0x%08lX,%p,%p)",iface,fcc,lp,lpread); TRACE("(%p,0x%08lX,%p,%p)\n",iface,fcc,lp,lpread);
/* check parameters */ /* check parameters */
if (lp == NULL || lpread == NULL) if (lp == NULL || lpread == NULL)
...@@ -1110,7 +1110,7 @@ static HRESULT WINAPI IEditAVIStream_fnReadData(IAVIStream*iface,DWORD fcc, ...@@ -1110,7 +1110,7 @@ static HRESULT WINAPI IEditAVIStream_fnReadData(IAVIStream*iface,DWORD fcc,
static HRESULT WINAPI IEditAVIStream_fnWriteData(IAVIStream*iface,DWORD fcc, static HRESULT WINAPI IEditAVIStream_fnWriteData(IAVIStream*iface,DWORD fcc,
LPVOID lp,LONG size) LPVOID lp,LONG size)
{ {
TRACE("(%p,0x%08lX,%p,%ld)",iface,fcc,lp,size); TRACE("(%p,0x%08lX,%p,%ld)\n",iface,fcc,lp,size);
return AVIERR_UNSUPPORTED; return AVIERR_UNSUPPORTED;
} }
......
...@@ -66,7 +66,7 @@ BOOL cabinet_open(struct cabinet *cab) ...@@ -66,7 +66,7 @@ BOOL cabinet_open(struct cabinet *cab)
/* seek to end of file and get the length */ /* seek to end of file and get the length */
if ((cab->filelen = SetFilePointer(fh, 0, NULL, FILE_END)) == INVALID_SET_FILE_POINTER) { if ((cab->filelen = SetFilePointer(fh, 0, NULL, FILE_END)) == INVALID_SET_FILE_POINTER) {
if (GetLastError() != NO_ERROR) { if (GetLastError() != NO_ERROR) {
ERR("Seek END failed: %s", debugstr_a(name)); ERR("Seek END failed: %s\n", debugstr_a(name));
CloseHandle(fh); CloseHandle(fh);
return FALSE; return FALSE;
} }
...@@ -74,7 +74,7 @@ BOOL cabinet_open(struct cabinet *cab) ...@@ -74,7 +74,7 @@ BOOL cabinet_open(struct cabinet *cab)
/* return to the start of the file */ /* return to the start of the file */
if (SetFilePointer(fh, 0, NULL, FILE_BEGIN) == INVALID_SET_FILE_POINTER) { if (SetFilePointer(fh, 0, NULL, FILE_BEGIN) == INVALID_SET_FILE_POINTER) {
ERR("Seek BEGIN failed: %s", debugstr_a(name)); ERR("Seek BEGIN failed: %s\n", debugstr_a(name));
CloseHandle(fh); CloseHandle(fh);
return FALSE; return FALSE;
} }
...@@ -220,7 +220,7 @@ BOOL file_open(struct cab_file *fi, BOOL lower, LPCSTR dir) ...@@ -220,7 +220,7 @@ BOOL file_open(struct cab_file *fi, BOOL lower, LPCSTR dir)
fi->fh = 0; fi->fh = 0;
} }
} else } else
ERR("Couldn't ensure filepath for %s", debugstr_a(name)); ERR("Couldn't ensure filepath for %s\n", debugstr_a(name));
if (!ok) { if (!ok) {
ERR("Couldn't open file %s for writing\n", debugstr_a(name)); ERR("Couldn't open file %s for writing\n", debugstr_a(name));
...@@ -279,7 +279,7 @@ void cabinet_skip(struct cabinet *cab, cab_off_t distance) ...@@ -279,7 +279,7 @@ void cabinet_skip(struct cabinet *cab, cab_off_t distance)
TRACE("(cab == ^%p, distance == %u)\n", cab, distance); TRACE("(cab == ^%p, distance == %u)\n", cab, distance);
if (SetFilePointer(cab->fh, distance, NULL, FILE_CURRENT) == INVALID_SET_FILE_POINTER) { if (SetFilePointer(cab->fh, distance, NULL, FILE_CURRENT) == INVALID_SET_FILE_POINTER) {
if (distance != INVALID_SET_FILE_POINTER) if (distance != INVALID_SET_FILE_POINTER)
ERR("%s", debugstr_a((char *) cab->filename)); ERR("%s\n", debugstr_a((char *) cab->filename));
} }
} }
...@@ -2091,7 +2091,7 @@ void find_cabinet_file(char **cabname, LPCSTR origcab) { ...@@ -2091,7 +2091,7 @@ void find_cabinet_file(char **cabname, LPCSTR origcab) {
} }
do { do {
TRACE("trying cab == %s", debugstr_a(cab)); TRACE("trying cab == %s\n", debugstr_a(cab));
/* we don't want null cabinet filenames */ /* we don't want null cabinet filenames */
if (name[0] == '\0') { if (name[0] == '\0') {
......
...@@ -1076,7 +1076,7 @@ BOOL WINAPI SetWindowSubclass (HWND hWnd, SUBCLASSPROC pfnSubclass, ...@@ -1076,7 +1076,7 @@ BOOL WINAPI SetWindowSubclass (HWND hWnd, SUBCLASSPROC pfnSubclass,
stack = (LPSUBCLASS_INFO)HeapAlloc (GetProcessHeap(), HEAP_ZERO_MEMORY, stack = (LPSUBCLASS_INFO)HeapAlloc (GetProcessHeap(), HEAP_ZERO_MEMORY,
sizeof(SUBCLASS_INFO)); sizeof(SUBCLASS_INFO));
if (!stack) { if (!stack) {
ERR ("Failed to allocate our Subclassing stack"); ERR ("Failed to allocate our Subclassing stack\n");
return FALSE; return FALSE;
} }
SetPropA (hWnd, COMCTL32_aSubclass, (HANDLE)stack); SetPropA (hWnd, COMCTL32_aSubclass, (HANDLE)stack);
...@@ -1111,7 +1111,7 @@ BOOL WINAPI SetWindowSubclass (HWND hWnd, SUBCLASSPROC pfnSubclass, ...@@ -1111,7 +1111,7 @@ BOOL WINAPI SetWindowSubclass (HWND hWnd, SUBCLASSPROC pfnSubclass,
} }
if ((stack->stacknum + stack->stacknew) >= 32) { if ((stack->stacknum + stack->stacknew) >= 32) {
ERR ("We have a Subclass stack overflow, please increment size"); ERR ("We have a Subclass stack overflow, please increment size\n");
return FALSE; return FALSE;
} }
......
...@@ -321,7 +321,7 @@ static BOOL PROPSHEET_CollectSheetInfoA(LPCPROPSHEETHEADERA lppsh, ...@@ -321,7 +321,7 @@ static BOOL PROPSHEET_CollectSheetInfoA(LPCPROPSHEETHEADERA lppsh,
if (dwFlags & PSH_USEPSTARTPAGE) if (dwFlags & PSH_USEPSTARTPAGE)
{ {
TRACE("PSH_USEPSTARTPAGE is on"); TRACE("PSH_USEPSTARTPAGE is on\n");
psInfo->active_page = 0; psInfo->active_page = 0;
} }
else else
...@@ -375,7 +375,7 @@ static BOOL PROPSHEET_CollectSheetInfoW(LPCPROPSHEETHEADERW lppsh, ...@@ -375,7 +375,7 @@ static BOOL PROPSHEET_CollectSheetInfoW(LPCPROPSHEETHEADERW lppsh,
if (dwFlags & PSH_USEPSTARTPAGE) if (dwFlags & PSH_USEPSTARTPAGE)
{ {
TRACE("PSH_USEPSTARTPAGE is on"); TRACE("PSH_USEPSTARTPAGE is on\n");
psInfo->active_page = 0; psInfo->active_page = 0;
} }
else else
......
...@@ -1560,9 +1560,9 @@ BOOL FILEDLG95_OnOpenMultipleFiles(HWND hwnd, LPWSTR lpstrFileList, UINT nFileCo ...@@ -1560,9 +1560,9 @@ BOOL FILEDLG95_OnOpenMultipleFiles(HWND hwnd, LPWSTR lpstrFileList, UINT nFileCo
if ( !(fodInfos->ofnInfos->Flags & OFN_EXPLORER) ) if ( !(fodInfos->ofnInfos->Flags & OFN_EXPLORER) )
{ {
/* For "oldstyle" dialog the components have to /* For "oldstyle" dialog the components have to
be spearated by blanks (not '\0'!) and short be separated by blanks (not '\0'!) and short
filenames have to be used! */ filenames have to be used! */
FIXME("Components have to be separated by blanks"); FIXME("Components have to be separated by blanks\n");
} }
if(fodInfos->unicode) if(fodInfos->unicode)
{ {
......
...@@ -702,7 +702,7 @@ HRESULT upload_surface_to_tex_memory_init(IDirectDrawSurfaceImpl *surf_ptr, GLui ...@@ -702,7 +702,7 @@ HRESULT upload_surface_to_tex_memory_init(IDirectDrawSurfaceImpl *surf_ptr, GLui
if (colorkey_active) { if (colorkey_active) {
/* This texture format will never be used.. So do not care about color keying /* This texture format will never be used.. So do not care about color keying
up until the point in time it will be needed :-) */ up until the point in time it will be needed :-) */
FIXME(" ColorKeying not supported in the RGB 332 format !"); FIXME(" ColorKeying not supported in the RGB 332 format !\n");
} }
current_format = GL_RGB; current_format = GL_RGB;
internal_format = GL_RGB; internal_format = GL_RGB;
......
...@@ -56,10 +56,9 @@ BOOL BIDI_Reorder( ...@@ -56,10 +56,9 @@ BOOL BIDI_Reorder(
) )
{ {
#ifdef HAVE_ICU #ifdef HAVE_ICU
TRACE("%s, %d, 0x%08lx\n", TRACE("%s, %d, 0x%08lx lpOutString=%p, lpOrder=%p\n",
debugstr_wn(lpString, uCount), uCount, dwFlags); debugstr_wn(lpString, uCount), uCount, dwFlags,
lpOutString, lpOrder);
TRACE("lpOutString=%p, lpOrder=%p", lpOutString, lpOrder );
if ((dwFlags & GCP_REORDER) != 0) { if ((dwFlags & GCP_REORDER) != 0) {
UBiDi *bidi; UBiDi *bidi;
......
...@@ -271,7 +271,7 @@ void COMPUTERNAME_Init (void) ...@@ -271,7 +271,7 @@ void COMPUTERNAME_Init (void)
len = MultiByteToWideChar( CP_ACP, 0, hbuf, hlen + 1, computer_name, MAX_COMPUTERNAME_LENGTH + 1 ) len = MultiByteToWideChar( CP_ACP, 0, hbuf, hlen + 1, computer_name, MAX_COMPUTERNAME_LENGTH + 1 )
* sizeof( WCHAR ); * sizeof( WCHAR );
if ( NtSetValueKey( hsubkey, &nameW, 0, REG_SZ, computer_name, len ) != STATUS_SUCCESS ) if ( NtSetValueKey( hsubkey, &nameW, 0, REG_SZ, computer_name, len ) != STATUS_SUCCESS )
WARN ( "failed to set ComputerName" ); WARN ( "failed to set ComputerName\n" );
} }
else if ( st == STATUS_SUCCESS) else if ( st == STATUS_SUCCESS)
{ {
......
...@@ -205,7 +205,7 @@ BOOL NE_LoadSegment( NE_MODULE *pModule, WORD segnum ) ...@@ -205,7 +205,7 @@ BOOL NE_LoadSegment( NE_MODULE *pModule, WORD segnum )
char* curr = buff; char* curr = buff;
if(buff == NULL) { if(buff == NULL) {
WARN_(dll)("Memory exausted!"); WARN_(dll)("Memory exhausted!\n");
goto fail; goto fail;
} }
...@@ -242,7 +242,7 @@ BOOL NE_LoadSegment( NE_MODULE *pModule, WORD segnum ) ...@@ -242,7 +242,7 @@ BOOL NE_LoadSegment( NE_MODULE *pModule, WORD segnum )
reloc_entries = (struct relocation_entry_s *)HeapAlloc(GetProcessHeap(), 0, count * sizeof(struct relocation_entry_s)); reloc_entries = (struct relocation_entry_s *)HeapAlloc(GetProcessHeap(), 0, count * sizeof(struct relocation_entry_s));
if(reloc_entries == NULL) { if(reloc_entries == NULL) {
WARN("Not enough memory for relocation entries!"); WARN("Not enough memory for relocation entries!\n");
goto fail; goto fail;
} }
if (!ReadFile( hf, reloc_entries, count * sizeof(struct relocation_entry_s), &res, NULL) || if (!ReadFile( hf, reloc_entries, count * sizeof(struct relocation_entry_s), &res, NULL) ||
...@@ -853,7 +853,7 @@ static void add_to_init_list( struct ne_init_list *list, NE_MODULE *hModule ) ...@@ -853,7 +853,7 @@ static void add_to_init_list( struct ne_init_list *list, NE_MODULE *hModule )
newSize*sizeof(NE_MODULE *) ); newSize*sizeof(NE_MODULE *) );
if ( !newModule ) if ( !newModule )
{ {
FIXME_(dll)("Out of memory!"); FIXME_(dll)("Out of memory!\n");
return; return;
} }
......
...@@ -1461,7 +1461,7 @@ static LRESULT Compress(CodecInfo *pi, ICCOMPRESS* lpic, DWORD dwSize) ...@@ -1461,7 +1461,7 @@ static LRESULT Compress(CodecInfo *pi, ICCOMPRESS* lpic, DWORD dwSize)
} else if ((lpic->dwFlags & ICCOMPRESS_KEYFRAME) == 0) { } else if ((lpic->dwFlags & ICCOMPRESS_KEYFRAME) == 0) {
LPWORD pTmp; LPWORD pTmp;
WARN(": prev=%ld cur=%ld gone back? -- untested",pi->nPrevFrame,lpic->lFrameNum); WARN(": prev=%ld cur=%ld gone back? -- untested\n",pi->nPrevFrame,lpic->lFrameNum);
if (lpic->lpbiPrev == NULL || lpic->lpPrev == NULL) if (lpic->lpbiPrev == NULL || lpic->lpPrev == NULL)
return ICERR_GOTOKEYFRAME; /* Need a keyframe if you go back */ return ICERR_GOTOKEYFRAME; /* Need a keyframe if you go back */
if (CompressQuery(pi, lpic->lpbiPrev, lpic->lpbiOutput) != ICERR_OK) if (CompressQuery(pi, lpic->lpbiPrev, lpic->lpbiOutput) != ICERR_OK)
......
...@@ -977,7 +977,7 @@ static UCHAR NetBTCall(void *adapt, PNCB ncb, void **sess) ...@@ -977,7 +977,7 @@ static UCHAR NetBTCall(void *adapt, PNCB ncb, void **sess)
UCHAR ret; UCHAR ret;
const NBNameCacheEntry *cacheEntry = NULL; const NBNameCacheEntry *cacheEntry = NULL;
TRACE("adapt %p, ncb %p", adapt, ncb); TRACE("adapt %p, ncb %p\n", adapt, ncb);
if (!adapter) return NRC_ENVNOTDEF; if (!adapter) return NRC_ENVNOTDEF;
if (!ncb) return NRC_INVADDRESS; if (!ncb) return NRC_INVADDRESS;
......
...@@ -1033,7 +1033,7 @@ static HRESULT WINAPI ICreateTypeInfo2_fnSetVarName( ...@@ -1033,7 +1033,7 @@ static HRESULT WINAPI ICreateTypeInfo2_fnSetVarName(
TRACE("(%p,%d,%s), stub!\n", iface, index, debugstr_w(szName)); TRACE("(%p,%d,%s), stub!\n", iface, index, debugstr_w(szName));
if ((This->typeinfo->cElement >> 16) <= index) { if ((This->typeinfo->cElement >> 16) <= index) {
TRACE("Out-of-order element."); TRACE("Out-of-order element.\n");
return TYPE_E_ELEMENTNOTFOUND; return TYPE_E_ELEMENTNOTFOUND;
} }
......
...@@ -1056,6 +1056,6 @@ RPC_STATUS RPC_ENTRY RpcNetworkIsProtSeqValidW(LPWSTR protseq) { ...@@ -1056,6 +1056,6 @@ RPC_STATUS RPC_ENTRY RpcNetworkIsProtSeqValidW(LPWSTR protseq) {
if (!strcmpW(protseq, protseqsW[i])) return RPC_S_OK; if (!strcmpW(protseq, protseqsW[i])) return RPC_S_OK;
} }
FIXME("Unknown protseq %s - we probably need to implement it one day", debugstr_w(protseq)); FIXME("Unknown protseq %s - we probably need to implement it one day\n", debugstr_w(protseq));
return RPC_S_PROTSEQ_NOT_SUPPORTED; return RPC_S_PROTSEQ_NOT_SUPPORTED;
} }
...@@ -687,7 +687,7 @@ RPC_STATUS WINAPI RpcServerUseProtseqEpExW( LPWSTR Protseq, UINT MaxCalls, LPWST ...@@ -687,7 +687,7 @@ RPC_STATUS WINAPI RpcServerUseProtseqEpExW( LPWSTR Protseq, UINT MaxCalls, LPWST
*/ */
RPC_STATUS WINAPI RpcServerUseProtseqA(LPSTR Protseq, unsigned int MaxCalls, void *SecurityDescriptor) RPC_STATUS WINAPI RpcServerUseProtseqA(LPSTR Protseq, unsigned int MaxCalls, void *SecurityDescriptor)
{ {
TRACE("(Protseq == %s, MaxCalls == %d, SecurityDescriptor == ^%p)", debugstr_a(Protseq), MaxCalls, SecurityDescriptor); TRACE("(Protseq == %s, MaxCalls == %d, SecurityDescriptor == ^%p)\n", debugstr_a(Protseq), MaxCalls, SecurityDescriptor);
return RpcServerUseProtseqEpA(Protseq, MaxCalls, NULL, SecurityDescriptor); return RpcServerUseProtseqEpA(Protseq, MaxCalls, NULL, SecurityDescriptor);
} }
...@@ -696,7 +696,7 @@ RPC_STATUS WINAPI RpcServerUseProtseqA(LPSTR Protseq, unsigned int MaxCalls, voi ...@@ -696,7 +696,7 @@ RPC_STATUS WINAPI RpcServerUseProtseqA(LPSTR Protseq, unsigned int MaxCalls, voi
*/ */
RPC_STATUS WINAPI RpcServerUseProtseqW(LPWSTR Protseq, unsigned int MaxCalls, void *SecurityDescriptor) RPC_STATUS WINAPI RpcServerUseProtseqW(LPWSTR Protseq, unsigned int MaxCalls, void *SecurityDescriptor)
{ {
TRACE("Protseq == %s, MaxCalls == %d, SecurityDescriptor == ^%p)", debugstr_w(Protseq), MaxCalls, SecurityDescriptor); TRACE("Protseq == %s, MaxCalls == %d, SecurityDescriptor == ^%p)\n", debugstr_w(Protseq), MaxCalls, SecurityDescriptor);
return RpcServerUseProtseqEpW(Protseq, MaxCalls, NULL, SecurityDescriptor); return RpcServerUseProtseqEpW(Protseq, MaxCalls, NULL, SecurityDescriptor);
} }
......
...@@ -312,7 +312,7 @@ static INT_PTR sc_FNNOTIFY_A(FDINOTIFICATIONTYPE fdint, PFDINOTIFICATION pfdin) ...@@ -312,7 +312,7 @@ static INT_PTR sc_FNNOTIFY_A(FDINOTIFICATIONTYPE fdint, PFDINOTIFICATION pfdin)
if (err == FILEOP_DOIT) { if (err == FILEOP_DOIT) {
TRACE(" Callback specified filename: %s\n", debugstr_a(&(fici.FullTargetName[0]))); TRACE(" Callback specified filename: %s\n", debugstr_a(&(fici.FullTargetName[0])));
if (!fici.FullTargetName[0]) { if (!fici.FullTargetName[0]) {
WARN(" Empty return string causing abort."); WARN(" Empty return string causing abort.\n");
SetLastError(ERROR_PATH_NOT_FOUND); SetLastError(ERROR_PATH_NOT_FOUND);
return -1; return -1;
} }
......
...@@ -331,7 +331,7 @@ void WINAPI SHChangeNotify(LONG wEventId, UINT uFlags, LPCVOID dwItem1, LPCVOID ...@@ -331,7 +331,7 @@ void WINAPI SHChangeNotify(LONG wEventId, UINT uFlags, LPCVOID dwItem1, LPCVOID
break; break;
case SHCNF_PRINTERA: case SHCNF_PRINTERA:
case SHCNF_PRINTERW: case SHCNF_PRINTERW:
FIXME("SHChangeNotify with (uFlags & SHCNF_PRINTER)"); FIXME("SHChangeNotify with (uFlags & SHCNF_PRINTER)\n");
return; return;
case SHCNF_DWORD: case SHCNF_DWORD:
default: default:
......
...@@ -123,7 +123,7 @@ BOOL WINAPI ILGetDisplayNameExW(LPSHELLFOLDER psf, LPCITEMIDLIST pidl, LPWSTR pa ...@@ -123,7 +123,7 @@ BOOL WINAPI ILGetDisplayNameExW(LPSHELLFOLDER psf, LPCITEMIDLIST pidl, LPWSTR pa
flag = SHGDN_INFOLDER; flag = SHGDN_INFOLDER;
break; break;
default: default:
FIXME("Unknown type parameter = %lx", type); FIXME("Unknown type parameter = %lx\n", type);
flag = SHGDN_FORPARSING | SHGDN_FORADDRESSBAR; flag = SHGDN_FORPARSING | SHGDN_FORADDRESSBAR;
break; break;
} }
......
...@@ -445,7 +445,7 @@ static DWORD SHNotifyMoveFileW(LPCWSTR src, LPCWSTR dest, BOOL bRename) ...@@ -445,7 +445,7 @@ static DWORD SHNotifyMoveFileW(LPCWSTR src, LPCWSTR dest, BOOL bRename)
dwAttr = GetFileAttributesW(dest); dwAttr = GetFileAttributesW(dest);
if (dwAttr != -1) if (dwAttr != -1)
{ {
FIXME("Rename on move to existing file not implemented!"); FIXME("Rename on move to existing file not implemented!\n");
} }
} }
} }
...@@ -484,7 +484,7 @@ static DWORD SHNotifyCopyFileW(LPCWSTR src, LPCWSTR dest, BOOL bRename) ...@@ -484,7 +484,7 @@ static DWORD SHNotifyCopyFileW(LPCWSTR src, LPCWSTR dest, BOOL bRename)
DWORD dwAttr = GetFileAttributesW(dest); DWORD dwAttr = GetFileAttributesW(dest);
if (dwAttr != -1) if (dwAttr != -1)
{ {
FIXME("Rename on copy to existing file not implemented!"); FIXME("Rename on copy to existing file not implemented!\n");
} }
} }
if (ret) if (ret)
...@@ -572,7 +572,7 @@ DWORD WINAPI SHCreateDirectoryExW(HWND hWnd, LPCWSTR path, LPSECURITY_ATTRIBUTES ...@@ -572,7 +572,7 @@ DWORD WINAPI SHCreateDirectoryExW(HWND hWnd, LPCWSTR path, LPSECURITY_ATTRIBUTES
/* handling network file names? /* handling network file names?
lstrcpynW(pathName, path, MAX_PATH); lstrcpynW(pathName, path, MAX_PATH);
lpStr = PathAddBackslashW(pathName);*/ lpStr = PathAddBackslashW(pathName);*/
FIXME("Semi-stub, non zero hWnd should be used somehow?"); FIXME("Semi-stub, non zero hWnd should be used somehow?\n");
} }
} }
return ret; return ret;
......
...@@ -69,7 +69,7 @@ HRESULT WINAPI IFileSystemBindData_Constructor(const WIN32_FIND_DATAW *pfd, LPBC ...@@ -69,7 +69,7 @@ HRESULT WINAPI IFileSystemBindData_Constructor(const WIN32_FIND_DATAW *pfd, LPBC
IFileSystemBindDataImpl *sb; IFileSystemBindDataImpl *sb;
HRESULT ret = E_OUTOFMEMORY; HRESULT ret = E_OUTOFMEMORY;
TRACE("%p, %p", pfd, ppV); TRACE("%p, %p\n", pfd, ppV);
if (!ppV) if (!ppV)
return E_INVALIDARG; return E_INVALIDARG;
...@@ -108,7 +108,7 @@ HRESULT WINAPI FileSystemBindData_GetFindData(LPBC pbc, WIN32_FIND_DATAW *pfd) ...@@ -108,7 +108,7 @@ HRESULT WINAPI FileSystemBindData_GetFindData(LPBC pbc, WIN32_FIND_DATAW *pfd)
IFileSystemBindData *pfsbd = NULL; IFileSystemBindData *pfsbd = NULL;
HRESULT ret; HRESULT ret;
TRACE("%p, %p", pbc, pfd); TRACE("%p, %p\n", pbc, pfd);
if (!pfd) if (!pfd)
return E_INVALIDARG; return E_INVALIDARG;
...@@ -133,7 +133,7 @@ HRESULT WINAPI FileSystemBindData_SetFindData(LPBC pbc, const WIN32_FIND_DATAW * ...@@ -133,7 +133,7 @@ HRESULT WINAPI FileSystemBindData_SetFindData(LPBC pbc, const WIN32_FIND_DATAW *
IFileSystemBindData *pfsbd = NULL; IFileSystemBindData *pfsbd = NULL;
HRESULT ret; HRESULT ret;
TRACE("%p, %p", pbc, pfd); TRACE("%p, %p\n", pbc, pfd);
ret = IBindCtx_GetObjectParam(pbc, wFileSystemBindData, &pUnk); ret = IBindCtx_GetObjectParam(pbc, wFileSystemBindData, &pUnk);
if (SUCCEEDED(ret)) if (SUCCEEDED(ret))
......
...@@ -1057,7 +1057,7 @@ BOOL WINAPI SHAboutInfoA(LPSTR lpszDest, DWORD dwDestLen) ...@@ -1057,7 +1057,7 @@ BOOL WINAPI SHAboutInfoA(LPSTR lpszDest, DWORD dwDestLen)
{ {
WCHAR buff[2084]; WCHAR buff[2084];
TRACE("(%p,%ld)", lpszDest, dwDestLen); TRACE("(%p,%ld)\n", lpszDest, dwDestLen);
if (lpszDest && SHAboutInfoW(buff, dwDestLen)) if (lpszDest && SHAboutInfoW(buff, dwDestLen))
{ {
...@@ -1103,7 +1103,7 @@ BOOL WINAPI SHAboutInfoW(LPWSTR lpszDest, DWORD dwDestLen) ...@@ -1103,7 +1103,7 @@ BOOL WINAPI SHAboutInfoW(LPWSTR lpszDest, DWORD dwDestLen)
HKEY hReg; HKEY hReg;
DWORD dwType, dwLen; DWORD dwType, dwLen;
TRACE("(%p,%ld)", lpszDest, dwDestLen); TRACE("(%p,%ld)\n", lpszDest, dwDestLen);
if (!lpszDest) if (!lpszDest)
return FALSE; return FALSE;
......
...@@ -2113,7 +2113,7 @@ DWORD WINAPI SHCopyKeyW(HKEY hKeyDst, LPCWSTR lpszSubKey, HKEY hKeySrc, DWORD dw ...@@ -2113,7 +2113,7 @@ DWORD WINAPI SHCopyKeyW(HKEY hKeyDst, LPCWSTR lpszSubKey, HKEY hKeySrc, DWORD dw
*/ */
int WINAPI SHRegGetIntW(HKEY hKey, LPCWSTR lpszValue, int iDefault) int WINAPI SHRegGetIntW(HKEY hKey, LPCWSTR lpszValue, int iDefault)
{ {
TRACE("(%p,%s,%d)", hKey, debugstr_w(lpszValue), iDefault); TRACE("(%p,%s,%d)\n", hKey, debugstr_w(lpszValue), iDefault);
if (hKey) if (hKey)
{ {
......
...@@ -213,7 +213,7 @@ static DWORD WINAPI SHLWAPI_ThreadWrapper(PVOID pTi) ...@@ -213,7 +213,7 @@ static DWORD WINAPI SHLWAPI_ThreadWrapper(PVOID pTi)
HRESULT hCom = E_FAIL; HRESULT hCom = E_FAIL;
DWORD dwRet; DWORD dwRet;
TRACE("(%p)", pTi); TRACE("(%p)\n", pTi);
/* We are now executing in the context of the newly created thread. /* We are now executing in the context of the newly created thread.
* So we copy the data passed to us (it is on the stack of the function * So we copy the data passed to us (it is on the stack of the function
......
...@@ -604,7 +604,7 @@ UINT WINAPI PrivateExtractIconsW ( ...@@ -604,7 +604,7 @@ UINT WINAPI PrivateExtractIconsW (
if ((nIcons & 1) && HIWORD(sizeX) && HIWORD(sizeY)) if ((nIcons & 1) && HIWORD(sizeX) && HIWORD(sizeY))
{ {
WARN("Uneven number %d of icons requested for small and large icons!", nIcons); WARN("Uneven number %d of icons requested for small and large icons!\n", nIcons);
} }
return ICO_ExtractIconExW(lpwstrFile, phicon, nIndex, nIcons, sizeX, sizeY, pIconId, flags); return ICO_ExtractIconExW(lpwstrFile, phicon, nIndex, nIcons, sizeX, sizeY, pIconId, flags);
} }
......
...@@ -280,7 +280,7 @@ HACCEL WINAPI CreateAcceleratorTableW(LPACCEL lpaccel, INT cEntries) ...@@ -280,7 +280,7 @@ HACCEL WINAPI CreateAcceleratorTableW(LPACCEL lpaccel, INT cEntries)
if( !(accel[i].fVirt & FVIRTKEY) ) { if( !(accel[i].fVirt & FVIRTKEY) ) {
ckey = (char) lpaccel[i].key; ckey = (char) lpaccel[i].key;
if(!MultiByteToWideChar(CP_ACP, MB_PRECOMPOSED, &ckey, 1, &accel[i].key, 1)) if(!MultiByteToWideChar(CP_ACP, MB_PRECOMPOSED, &ckey, 1, &accel[i].key, 1))
WARN_(accel)("Error converting ASCII accelerator table to Unicode"); WARN_(accel)("Error converting ASCII accelerator table to Unicode\n");
} }
else else
accel[i].key = lpaccel[i].key; accel[i].key = lpaccel[i].key;
......
...@@ -1621,7 +1621,7 @@ BOOL WINAPI CreateUrlCacheEntryA( ...@@ -1621,7 +1621,7 @@ BOOL WINAPI CreateUrlCacheEntryA(
} }
else else
{ {
FIXME("need to generate a random filename"); FIXME("need to generate a random filename\n");
} }
TRACE("File name: %s\n", szFile); TRACE("File name: %s\n", szFile);
......
...@@ -267,7 +267,7 @@ LONG ALSA_WaveInit(void) ...@@ -267,7 +267,7 @@ LONG ALSA_WaveInit(void)
X(22050,2); X(22050,2);
X(44100,4); X(44100,4);
#undef X #undef X
if (chn_info.min_voices > 1) FIXME("-"); if (chn_info.min_voices > 1) FIXME("-\n");
WOutDev[0].caps.wChannels = (chn_info.max_voices >= 2) ? 2 : 1; WOutDev[0].caps.wChannels = (chn_info.max_voices >= 2) ? 2 : 1;
if (chn_info.min_voices <= 2 && 2 <= chn_info.max_voices) if (chn_info.min_voices <= 2 && 2 <= chn_info.max_voices)
WOutDev[0].caps.dwSupport |= WAVECAPS_LRVOLUME; WOutDev[0].caps.dwSupport |= WAVECAPS_LRVOLUME;
......
...@@ -1918,7 +1918,7 @@ static DWORD wodGetVolume(WORD wDevID, LPDWORD lpdwVol) ...@@ -1918,7 +1918,7 @@ static DWORD wodGetVolume(WORD wDevID, LPDWORD lpdwVol)
return MMSYSERR_NOTENABLED; return MMSYSERR_NOTENABLED;
} }
if (ioctl(mixer, SOUND_MIXER_READ_PCM, &volume) == -1) { if (ioctl(mixer, SOUND_MIXER_READ_PCM, &volume) == -1) {
WARN("ioctl(%s, SOUND_MIXER_READ_PCM) failed (%s)n", WOutDev[wDevID].ossdev->mixer_name, strerror(errno)); WARN("ioctl(%s, SOUND_MIXER_READ_PCM) failed (%s)\n", WOutDev[wDevID].ossdev->mixer_name, strerror(errno));
return MMSYSERR_NOTENABLED; return MMSYSERR_NOTENABLED;
} }
close(mixer); close(mixer);
......
...@@ -56,7 +56,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(winsock); ...@@ -56,7 +56,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(winsock);
INT WINAPI GetTypeByNameA(LPSTR lpServiceName, LPGUID lpServiceType) INT WINAPI GetTypeByNameA(LPSTR lpServiceName, LPGUID lpServiceType)
{ {
/* tell the user they've got a substandard implementation */ /* tell the user they've got a substandard implementation */
FIXME("wsock32: GetTypeByNameA(%p, %p): stub/n", lpServiceName, lpServiceType); FIXME("wsock32: GetTypeByNameA(%p, %p): stub\n", lpServiceName, lpServiceType);
/* some programs may be able to compensate if they know what happened */ /* some programs may be able to compensate if they know what happened */
SetLastError(ERROR_CALL_NOT_IMPLEMENTED); SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
...@@ -72,7 +72,7 @@ INT WINAPI GetTypeByNameA(LPSTR lpServiceName, LPGUID lpServiceType) ...@@ -72,7 +72,7 @@ INT WINAPI GetTypeByNameA(LPSTR lpServiceName, LPGUID lpServiceType)
INT WINAPI GetTypeByNameW(LPWSTR lpServiceName, LPGUID lpServiceType) INT WINAPI GetTypeByNameW(LPWSTR lpServiceName, LPGUID lpServiceType)
{ {
/* tell the user they've got a substandard implementation */ /* tell the user they've got a substandard implementation */
FIXME("wsock32: GetTypeByNameW(%p, %p): stub/n", lpServiceName, lpServiceType); FIXME("wsock32: GetTypeByNameW(%p, %p): stub\n", lpServiceName, lpServiceType);
/* some programs may be able to compensate if they know what happened */ /* some programs may be able to compensate if they know what happened */
SetLastError(ERROR_CALL_NOT_IMPLEMENTED); SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
...@@ -107,7 +107,7 @@ INT WINAPI SetServiceA(DWORD dwNameSpace, DWORD dwOperation, DWORD dwFlags, LPSE ...@@ -107,7 +107,7 @@ INT WINAPI SetServiceA(DWORD dwNameSpace, DWORD dwOperation, DWORD dwFlags, LPSE
LPSERVICE_ASYNC_INFO lpServiceAsyncInfo, LPDWORD lpdwStatusFlags) LPSERVICE_ASYNC_INFO lpServiceAsyncInfo, LPDWORD lpdwStatusFlags)
{ {
/* tell the user they've got a substandard implementation */ /* tell the user they've got a substandard implementation */
FIXME("wsock32: SetServiceA(%lu, %lu, %lu, %p, %p, %p): stub/n", dwNameSpace, dwOperation, dwFlags, FIXME("wsock32: SetServiceA(%lu, %lu, %lu, %p, %p, %p): stub\n", dwNameSpace, dwOperation, dwFlags,
lpServiceInfo, lpServiceAsyncInfo, lpdwStatusFlags); lpServiceInfo, lpServiceAsyncInfo, lpdwStatusFlags);
/* some programs may be able to compensate if they know what happened */ /* some programs may be able to compensate if they know what happened */
...@@ -124,7 +124,7 @@ INT WINAPI SetServiceW(DWORD dwNameSpace, DWORD dwOperation, DWORD dwFlags, LPSE ...@@ -124,7 +124,7 @@ INT WINAPI SetServiceW(DWORD dwNameSpace, DWORD dwOperation, DWORD dwFlags, LPSE
LPSERVICE_ASYNC_INFO lpServiceAsyncInfo, LPDWORD lpdwStatusFlags) LPSERVICE_ASYNC_INFO lpServiceAsyncInfo, LPDWORD lpdwStatusFlags)
{ {
/* tell the user they've got a substandard implementation */ /* tell the user they've got a substandard implementation */
FIXME("wsock32: SetServiceW(%lu, %lu, %lu, %p, %p, %p): stub/n", dwNameSpace, dwOperation, dwFlags, FIXME("wsock32: SetServiceW(%lu, %lu, %lu, %p, %p, %p): stub\n", dwNameSpace, dwOperation, dwFlags,
lpServiceInfo, lpServiceAsyncInfo, lpdwStatusFlags); lpServiceInfo, lpServiceAsyncInfo, lpdwStatusFlags);
/* some programs may be able to compensate if they know what happened */ /* some programs may be able to compensate if they know what happened */
......
...@@ -134,7 +134,7 @@ DWORD WINAPI WsControl(DWORD protocol, ...@@ -134,7 +134,7 @@ DWORD WINAPI WsControl(DWORD protocol,
if (pcommand->toi_class != INFO_CLASS_GENERIC && if (pcommand->toi_class != INFO_CLASS_GENERIC &&
pcommand->toi_class != INFO_CLASS_PROTOCOL) pcommand->toi_class != INFO_CLASS_PROTOCOL)
{ {
ERR("Unexpected class %ld for WSCNTL_TCPIP_QUERY_INFO", ERR("Unexpected class %ld for WSCNTL_TCPIP_QUERY_INFO\n",
pcommand->toi_class); pcommand->toi_class);
return ERROR_BAD_ENVIRONMENT; return ERROR_BAD_ENVIRONMENT;
} }
...@@ -157,7 +157,7 @@ DWORD WINAPI WsControl(DWORD protocol, ...@@ -157,7 +157,7 @@ DWORD WINAPI WsControl(DWORD protocol,
return ERROR_BAD_ENVIRONMENT; return ERROR_BAD_ENVIRONMENT;
if (pcommand->toi_class != INFO_CLASS_GENERIC) if (pcommand->toi_class != INFO_CLASS_GENERIC)
{ {
FIXME ("Unexpected Option for ENTITY_LIST_ID request -> toi_class=0x%lx", FIXME ("Unexpected Option for ENTITY_LIST_ID request -> toi_class=0x%lx\n",
pcommand->toi_class); pcommand->toi_class);
return (ERROR_BAD_ENVIRONMENT); return (ERROR_BAD_ENVIRONMENT);
} }
...@@ -375,7 +375,7 @@ DWORD WINAPI WsControl(DWORD protocol, ...@@ -375,7 +375,7 @@ DWORD WINAPI WsControl(DWORD protocol,
break; break;
default: default:
ERR("Unknown entity %ld for ENTITY_TYPE_ID query", ERR("Unknown entity %ld for ENTITY_TYPE_ID query\n",
pcommand->toi_entity.tei_entity); pcommand->toi_entity.tei_entity);
} }
break; break;
......
...@@ -172,7 +172,7 @@ static void X11DRV_XRandR_SetCurrentMode(int mode) ...@@ -172,7 +172,7 @@ static void X11DRV_XRandR_SetCurrentMode(int mode)
} }
if (stat != RRSetConfigSuccess) if (stat != RRSetConfigSuccess)
{ {
ERR("Resolution change not successful -- perhaps display has chaned?"); ERR("Resolution change not successful -- perhaps display has changed?\n");
} }
XRRFreeScreenConfigInfo(sc); XRRFreeScreenConfigInfo(sc);
wine_tsx11_unlock(); wine_tsx11_unlock();
......
...@@ -541,7 +541,7 @@ DWORD WINAPI UserSeeUserDo16(WORD wReqType, WORD wParam1, WORD wParam2, WORD wPa ...@@ -541,7 +541,7 @@ DWORD WINAPI UserSeeUserDo16(WORD wReqType, WORD wParam1, WORD wParam2, WORD wPa
FIXME_(local)("return a pointer to the first window class.\n"); FIXME_(local)("return a pointer to the first window class.\n");
return (DWORD)-1; return (DWORD)-1;
default: default:
WARN_(local)("wReqType %04x (unknown)", wReqType); WARN_(local)("wReqType %04x (unknown)\n", wReqType);
return (DWORD)-1; return (DWORD)-1;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment