Removed trailing whitespace.
This commit is contained in:
parent
332d62ba10
commit
9a62491660
|
@ -496,7 +496,7 @@ static const char* DEBUG_GetModuleType(enum DbgModuleType type)
|
||||||
case DMT_NE: return "NE";
|
case DMT_NE: return "NE";
|
||||||
case DMT_PE: return "PE";
|
case DMT_PE: return "PE";
|
||||||
case DMT_ELF: return "ELF";
|
case DMT_ELF: return "ELF";
|
||||||
default: return "???";;
|
default: return "???";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -79,7 +79,7 @@ static ULONG WINAPI COMCAT_IClassFactory_Release(LPCLASSFACTORY iface)
|
||||||
if (InterlockedDecrement(&This->ref) == 0) {
|
if (InterlockedDecrement(&This->ref) == 0) {
|
||||||
InterlockedDecrement(&dll_ref);
|
InterlockedDecrement(&dll_ref);
|
||||||
}
|
}
|
||||||
return This->ref;;
|
return This->ref;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
|
|
|
@ -601,7 +601,7 @@ static INT COMBOEX_InsertItemA (COMBOEX_INFO *infoPtr, COMBOBOXEXITEMA *cit)
|
||||||
MultiByteToWideChar (CP_ACP, 0, cit->pszText, -1, wstr, len);
|
MultiByteToWideChar (CP_ACP, 0, cit->pszText, -1, wstr, len);
|
||||||
citW.pszText = wstr;
|
citW.pszText = wstr;
|
||||||
}
|
}
|
||||||
ret = COMBOEX_InsertItemW(infoPtr, &citW);;
|
ret = COMBOEX_InsertItemW(infoPtr, &citW);
|
||||||
|
|
||||||
if (wstr) COMCTL32_Free(wstr);
|
if (wstr) COMCTL32_Free(wstr);
|
||||||
|
|
||||||
|
@ -725,7 +725,7 @@ static BOOL COMBOEX_SetItemA (COMBOEX_INFO *infoPtr, COMBOBOXEXITEMA *cit)
|
||||||
MultiByteToWideChar (CP_ACP, 0, cit->pszText, -1, wstr, len);
|
MultiByteToWideChar (CP_ACP, 0, cit->pszText, -1, wstr, len);
|
||||||
citW.pszText = wstr;
|
citW.pszText = wstr;
|
||||||
}
|
}
|
||||||
ret = COMBOEX_SetItemW(infoPtr, &citW);;
|
ret = COMBOEX_SetItemW(infoPtr, &citW);
|
||||||
|
|
||||||
if (wstr) COMCTL32_Free(wstr);
|
if (wstr) COMCTL32_Free(wstr);
|
||||||
|
|
||||||
|
|
|
@ -175,7 +175,7 @@ Replace:
|
||||||
static BOOL CALLBACK COMDLG32_FindReplaceDlgProc(HWND hDlgWnd, UINT iMsg, WPARAM wParam, LPARAM lParam)
|
static BOOL CALLBACK COMDLG32_FindReplaceDlgProc(HWND hDlgWnd, UINT iMsg, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
COMDLG32_FR_Data *pdata = (COMDLG32_FR_Data *)GetPropA(hDlgWnd, (LPSTR)COMDLG32_Atom);
|
COMDLG32_FR_Data *pdata = (COMDLG32_FR_Data *)GetPropA(hDlgWnd, (LPSTR)COMDLG32_Atom);
|
||||||
BOOL retval = TRUE;;
|
BOOL retval = TRUE;
|
||||||
|
|
||||||
if(iMsg == WM_INITDIALOG)
|
if(iMsg == WM_INITDIALOG)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1219,7 +1219,7 @@ DWORD WineEngGetGlyphOutline(GdiFont font, UINT glyph, UINT format,
|
||||||
font->gm[glyph_index].bbx = (right - left) >> 6;
|
font->gm[glyph_index].bbx = (right - left) >> 6;
|
||||||
|
|
||||||
if(font->orientation == 0) {
|
if(font->orientation == 0) {
|
||||||
top = (ft_face->glyph->metrics.horiBearingY + 63) & -64;;
|
top = (ft_face->glyph->metrics.horiBearingY + 63) & -64;
|
||||||
bottom = (ft_face->glyph->metrics.horiBearingY -
|
bottom = (ft_face->glyph->metrics.horiBearingY -
|
||||||
ft_face->glyph->metrics.height) & -64;
|
ft_face->glyph->metrics.height) & -64;
|
||||||
lpgm->gmCellIncX = font->gm[glyph_index].adv;
|
lpgm->gmCellIncX = font->gm[glyph_index].adv;
|
||||||
|
|
|
@ -118,7 +118,7 @@ static BOOL CALLBACK MSACM_FillFormatTagsCB(HACMDRIVERID hadid,
|
||||||
afd.cbwfx = affd->afc->cbwfx;
|
afd.cbwfx = affd->afc->cbwfx;
|
||||||
|
|
||||||
afd.dwFormatIndex = SendDlgItemMessageA(affd->hWnd, IDD_ACMFORMATCHOOSE_CMB_FORMAT,
|
afd.dwFormatIndex = SendDlgItemMessageA(affd->hWnd, IDD_ACMFORMATCHOOSE_CMB_FORMAT,
|
||||||
CB_GETCURSEL, 0, 0);;
|
CB_GETCURSEL, 0, 0);
|
||||||
affd->ret = acmFormatDetailsA(had, &afd, ACM_FORMATDETAILSF_INDEX);
|
affd->ret = acmFormatDetailsA(had, &afd, ACM_FORMATDETAILSF_INDEX);
|
||||||
acmDriverClose(had, 0);
|
acmDriverClose(had, 0);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
|
@ -202,7 +202,7 @@ ULONG WINAPI AntiMonikerImpl_Release(IMoniker* iface)
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
return This->ref;;
|
return This->ref;
|
||||||
}
|
}
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
|
|
|
@ -167,7 +167,7 @@ ULONG WINAPI BindCtxImpl_Release(IBindCtx* iface)
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
return This->ref;;
|
return This->ref;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -265,7 +265,7 @@ ULONG WINAPI CompositeMonikerImpl_Release(IMoniker* iface)
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
return This->ref;;
|
return This->ref;
|
||||||
}
|
}
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
|
@ -1245,7 +1245,7 @@ VOID WINAPI GetAfterCommonPrefix(IMoniker* pGenMk,IMoniker* commonMk,IMoniker**
|
||||||
|
|
||||||
for(;IEnumMoniker_Next(enumMoniker3,1,&tempMk,NULL)==S_OK;nbRestMk++)
|
for(;IEnumMoniker_Next(enumMoniker3,1,&tempMk,NULL)==S_OK;nbRestMk++)
|
||||||
|
|
||||||
IMoniker_Release(tempMk);;
|
IMoniker_Release(tempMk);
|
||||||
|
|
||||||
if (nbRestMk==0)
|
if (nbRestMk==0)
|
||||||
return;
|
return;
|
||||||
|
@ -1550,7 +1550,7 @@ ULONG WINAPI EnumMonikerImpl_Release(IEnumMoniker* iface)
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
return This->ref;;
|
return This->ref;
|
||||||
}
|
}
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
|
|
|
@ -962,7 +962,7 @@ static HRESULT WINAPI DataCache_NDIUnknown_QueryInterface(
|
||||||
*/
|
*/
|
||||||
IUnknown_AddRef((IUnknown*)*ppvObject);
|
IUnknown_AddRef((IUnknown*)*ppvObject);
|
||||||
|
|
||||||
return S_OK;;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
/************************************************************************
|
/************************************************************************
|
||||||
|
@ -1226,7 +1226,7 @@ static HRESULT WINAPI DataCache_IDataObject_SetData(
|
||||||
|
|
||||||
IOleCache2_Release(oleCache);
|
IOleCache2_Release(oleCache);
|
||||||
|
|
||||||
return hres;;
|
return hres;
|
||||||
}
|
}
|
||||||
|
|
||||||
/************************************************************************
|
/************************************************************************
|
||||||
|
|
|
@ -643,7 +643,7 @@ static HRESULT WINAPI DefaultHandler_NDIUnknown_QueryInterface(
|
||||||
*/
|
*/
|
||||||
IUnknown_AddRef((IUnknown*)*ppvObject);
|
IUnknown_AddRef((IUnknown*)*ppvObject);
|
||||||
|
|
||||||
return S_OK;;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
/************************************************************************
|
/************************************************************************
|
||||||
|
|
|
@ -210,7 +210,7 @@ ULONG WINAPI FileMonikerImpl_Release(IMoniker* iface)
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
return This->ref;;
|
return This->ref;
|
||||||
}
|
}
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
|
|
|
@ -362,7 +362,7 @@ HRESULT WINAPI HGLOBALStreamImpl_QueryInterface(
|
||||||
*/
|
*/
|
||||||
HGLOBALStreamImpl_AddRef(iface);
|
HGLOBALStreamImpl_AddRef(iface);
|
||||||
|
|
||||||
return S_OK;;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
/***
|
/***
|
||||||
|
|
|
@ -209,7 +209,7 @@ ULONG WINAPI ItemMonikerImpl_Release(IMoniker* iface)
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
return This->ref;;
|
return This->ref;
|
||||||
}
|
}
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
|
|
|
@ -311,7 +311,7 @@ HRESULT WINAPI HGLOBALLockBytesImpl_QueryInterface(
|
||||||
*/
|
*/
|
||||||
HGLOBALLockBytesImpl_AddRef(iface);
|
HGLOBALLockBytesImpl_AddRef(iface);
|
||||||
|
|
||||||
return S_OK;;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
|
|
|
@ -423,7 +423,7 @@ HRESULT WINAPI RunningObjectTableImpl_GetTimeOfLastChange(IRunningObjectTable* i
|
||||||
|
|
||||||
/* verify if the object was registered before or not */
|
/* verify if the object was registered before or not */
|
||||||
if (RunningObjectTableImpl_GetObjectIndex(This,-1,pmkObjectName,&index)==S_FALSE)
|
if (RunningObjectTableImpl_GetObjectIndex(This,-1,pmkObjectName,&index)==S_FALSE)
|
||||||
return MK_E_UNAVAILABLE;;
|
return MK_E_UNAVAILABLE;
|
||||||
|
|
||||||
(*pfiletime)= This->runObjTab[index].lastModifObj;
|
(*pfiletime)= This->runObjTab[index].lastModifObj;
|
||||||
|
|
||||||
|
|
|
@ -511,7 +511,7 @@ static HRESULT WINAPI DataAdviseHolder_QueryInterface(
|
||||||
*/
|
*/
|
||||||
IUnknown_AddRef((IUnknown*)*ppvObject);
|
IUnknown_AddRef((IUnknown*)*ppvObject);
|
||||||
|
|
||||||
return S_OK;;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
/************************************************************************
|
/************************************************************************
|
||||||
|
|
|
@ -205,7 +205,7 @@ HRESULT WINAPI StgStreamImpl_QueryInterface(
|
||||||
*/
|
*/
|
||||||
StgStreamImpl_AddRef(iface);
|
StgStreamImpl_AddRef(iface);
|
||||||
|
|
||||||
return S_OK;;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
/***
|
/***
|
||||||
|
|
|
@ -3650,7 +3650,7 @@ ULONG WINAPI IEnumSTATSTGImpl_Release(
|
||||||
IEnumSTATSTGImpl_Destroy(This);
|
IEnumSTATSTGImpl_Destroy(This);
|
||||||
}
|
}
|
||||||
|
|
||||||
return newRef;;
|
return newRef;
|
||||||
}
|
}
|
||||||
|
|
||||||
HRESULT WINAPI IEnumSTATSTGImpl_Next(
|
HRESULT WINAPI IEnumSTATSTGImpl_Next(
|
||||||
|
|
|
@ -181,7 +181,7 @@ static HRESULT WINAPI ConnectionPointImpl_QueryInterface(
|
||||||
*/
|
*/
|
||||||
ConnectionPointImpl_AddRef((IConnectionPoint*)This);
|
ConnectionPointImpl_AddRef((IConnectionPoint*)This);
|
||||||
|
|
||||||
return S_OK;;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -462,7 +462,7 @@ static HRESULT WINAPI EnumConnectionsImpl_QueryInterface(
|
||||||
*/
|
*/
|
||||||
EnumConnectionsImpl_AddRef((IEnumConnections*)This);
|
EnumConnectionsImpl_AddRef((IEnumConnections*)This);
|
||||||
|
|
||||||
return S_OK;;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -508,7 +508,7 @@ HRESULT WINAPI OLEFontImpl_QueryInterface(
|
||||||
*/
|
*/
|
||||||
OLEFontImpl_AddRef((IFont*)this);
|
OLEFontImpl_AddRef((IFont*)this);
|
||||||
|
|
||||||
return S_OK;;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
/************************************************************************
|
/************************************************************************
|
||||||
|
|
|
@ -327,7 +327,7 @@ static HRESULT WINAPI OLEPictureImpl_QueryInterface(
|
||||||
*/
|
*/
|
||||||
OLEPictureImpl_AddRef((IPicture*)This);
|
OLEPictureImpl_AddRef((IPicture*)This);
|
||||||
|
|
||||||
return S_OK;;
|
return S_OK;
|
||||||
}
|
}
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* OLEPicture_SendNotify (internal)
|
* OLEPicture_SendNotify (internal)
|
||||||
|
|
|
@ -188,7 +188,7 @@ SHChangeNotifyDeregister(
|
||||||
{
|
{
|
||||||
TRACE("(0x%08x)\n",hNotify);
|
TRACE("(0x%08x)\n",hNotify);
|
||||||
|
|
||||||
return DeleteNode((LPNOTIFICATIONLIST)hNotify);;
|
return DeleteNode((LPNOTIFICATIONLIST)hNotify);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*************************************************************************
|
/*************************************************************************
|
||||||
|
|
|
@ -752,7 +752,7 @@ typedef struct tagCREATEMRULIST
|
||||||
lstrcpyA(doc_name, (LPSTR) pv);
|
lstrcpyA(doc_name, (LPSTR) pv);
|
||||||
}
|
}
|
||||||
TRACE("full document name %s\n", doc_name);
|
TRACE("full document name %s\n", doc_name);
|
||||||
PathStripPathA(doc_name);;
|
PathStripPathA(doc_name);
|
||||||
TRACE("stripped document name %s\n", doc_name);
|
TRACE("stripped document name %s\n", doc_name);
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -2049,7 +2049,7 @@ static HRESULT WINAPI ISF_Desktop_fnGetDetailsOf(
|
||||||
SHELLDETAILS *psd)
|
SHELLDETAILS *psd)
|
||||||
{
|
{
|
||||||
_ICOM_THIS_From_IShellFolder2(IGenericSFImpl, iface)
|
_ICOM_THIS_From_IShellFolder2(IGenericSFImpl, iface)
|
||||||
HRESULT hr = E_FAIL;;
|
HRESULT hr = E_FAIL;
|
||||||
|
|
||||||
TRACE("(%p)->(%p %i %p)\n",This, pidl, iColumn, psd);
|
TRACE("(%p)->(%p %i %p)\n",This, pidl, iColumn, psd);
|
||||||
|
|
||||||
|
|
|
@ -869,7 +869,7 @@ HRESULT WINAPI Shell_MergeMenus (HMENU hmDst, HMENU hmSrc, UINT uInsert, UINT uI
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
bAlreadySeparated = _SHIsMenuSeparator(hmDst, uInsert);;
|
bAlreadySeparated = _SHIsMenuSeparator(hmDst, uInsert);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((uFlags & MM_ADDSEPARATOR) && !bAlreadySeparated)
|
if ((uFlags & MM_ADDSEPARATOR) && !bAlreadySeparated)
|
||||||
|
|
|
@ -739,7 +739,7 @@ static void ShellView_MergeViewMenu(IShellViewImpl * This, HMENU hSubMenu)
|
||||||
|
|
||||||
ZeroMemory(&mii, sizeof(mii));
|
ZeroMemory(&mii, sizeof(mii));
|
||||||
mii.cbSize = sizeof(mii);
|
mii.cbSize = sizeof(mii);
|
||||||
mii.fMask = MIIM_SUBMENU | MIIM_TYPE | MIIM_DATA;;
|
mii.fMask = MIIM_SUBMENU | MIIM_TYPE | MIIM_DATA;
|
||||||
mii.fType = MFT_STRING;
|
mii.fType = MFT_STRING;
|
||||||
mii.dwTypeData = "View";
|
mii.dwTypeData = "View";
|
||||||
mii.hSubMenu = LoadMenuA(shell32_hInstance, "MENU_001");
|
mii.hSubMenu = LoadMenuA(shell32_hInstance, "MENU_001");
|
||||||
|
@ -1359,7 +1359,7 @@ static LRESULT ShellView_OnNotify(IShellViewImpl * This, UINT CtlID, LPNMHDR lpn
|
||||||
|
|
||||||
default:
|
default:
|
||||||
TRACE("-- %p WM_COMMAND %x unhandled\n", This, lpnmh->code);
|
TRACE("-- %p WM_COMMAND %x unhandled\n", This, lpnmh->code);
|
||||||
break;;
|
break;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -722,7 +722,7 @@ BOOL TTYDRV_ShowWindow( HWND hwnd, INT cmd )
|
||||||
switch(cmd)
|
switch(cmd)
|
||||||
{
|
{
|
||||||
case SW_HIDE:
|
case SW_HIDE:
|
||||||
if (!wasVisible) goto END;;
|
if (!wasVisible) goto END;
|
||||||
swp |= SWP_HIDEWINDOW | SWP_NOSIZE | SWP_NOMOVE |
|
swp |= SWP_HIDEWINDOW | SWP_NOSIZE | SWP_NOMOVE |
|
||||||
SWP_NOACTIVATE | SWP_NOZORDER;
|
SWP_NOACTIVATE | SWP_NOZORDER;
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -101,7 +101,7 @@ static void writeMetrics(FILE *of, const AFM *afm, const char *buffer)
|
||||||
|
|
||||||
fputs("\n\n/*\n * Glyph metrics\n */\n\n", of);
|
fputs("\n\n/*\n * Glyph metrics\n */\n\n", of);
|
||||||
|
|
||||||
fprintf(of, "static const AFMMETRICS metrics[%i] = \n{\n",
|
fprintf(of, "static const AFMMETRICS metrics[%i] =\n{\n",
|
||||||
afm->NumofMetrics);
|
afm->NumofMetrics);
|
||||||
|
|
||||||
for (i = 0; i < afm->NumofMetrics - 1; ++i)
|
for (i = 0; i < afm->NumofMetrics - 1; ++i)
|
||||||
|
|
|
@ -417,7 +417,7 @@ static void write_encoding_by_name(FILE *f)
|
||||||
"\n", f);
|
"\n", f);
|
||||||
|
|
||||||
fprintf(f, "const INT PSDRV_AGLbyNameSize = %i;\n\n", size);
|
fprintf(f, "const INT PSDRV_AGLbyNameSize = %i;\n\n", size);
|
||||||
fprintf(f, "const UNICODEGLYPH PSDRV_AGLbyName[%i] = \n{\n", size);
|
fprintf(f, "const UNICODEGLYPH PSDRV_AGLbyName[%i] =\n{\n", size);
|
||||||
|
|
||||||
for (i = 0; i < num_glyphs - 1; ++i)
|
for (i = 0; i < num_glyphs - 1; ++i)
|
||||||
{
|
{
|
||||||
|
@ -462,7 +462,7 @@ static void write_encoding_by_UV(FILE *f)
|
||||||
"\n", f);
|
"\n", f);
|
||||||
|
|
||||||
fprintf(f, "const INT PSDRV_AGLbyUVSize = %i;\n\n", size);
|
fprintf(f, "const INT PSDRV_AGLbyUVSize = %i;\n\n", size);
|
||||||
fprintf(f, "const UNICODEGLYPH PSDRV_AGLbyUV[%i] = \n{\n", size);
|
fprintf(f, "const UNICODEGLYPH PSDRV_AGLbyUV[%i] =\n{\n", size);
|
||||||
|
|
||||||
for (i = 0; i < num_glyphs - 1; ++i)
|
for (i = 0; i < num_glyphs - 1; ++i)
|
||||||
{
|
{
|
||||||
|
|
|
@ -535,7 +535,7 @@ static BOOL ReadTrueTypeDir(FT_Library library, LPCSTR dirname)
|
||||||
if (dir == NULL)
|
if (dir == NULL)
|
||||||
{
|
{
|
||||||
WARN("'%s' opening %s\n", strerror(errno), dirname);
|
WARN("'%s' opening %s\n", strerror(errno), dirname);
|
||||||
return TRUE;;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
while ((dent = readdir(dir)) != NULL)
|
while ((dent = readdir(dir)) != NULL)
|
||||||
|
|
|
@ -1169,7 +1169,7 @@ BOOL X11DRV_ShowWindow( HWND hwnd, INT cmd )
|
||||||
switch(cmd)
|
switch(cmd)
|
||||||
{
|
{
|
||||||
case SW_HIDE:
|
case SW_HIDE:
|
||||||
if (!wasVisible) goto END;;
|
if (!wasVisible) goto END;
|
||||||
swp |= SWP_HIDEWINDOW | SWP_NOSIZE | SWP_NOMOVE |
|
swp |= SWP_HIDEWINDOW | SWP_NOSIZE | SWP_NOMOVE |
|
||||||
SWP_NOACTIVATE | SWP_NOZORDER;
|
SWP_NOACTIVATE | SWP_NOZORDER;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue