Eric Pouech : Removed some dead-code.
Module: wine Branch: refs/heads/master Commit: ada6df3a84a7f2118bf5611184e2ab3ce7aa2da8 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=ada6df3a84a7f2118bf56111... Author: Eric Pouech <eric.pouech(a)wanadoo.fr> Date: Mon Dec 12 11:54:19 2005 +0100 Removed some dead-code. --- dlls/commdlg/fontdlg.c | 3 +-- dlls/winaspi/aspi.c | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/dlls/commdlg/fontdlg.c b/dlls/commdlg/fontdlg.c index 1f9980b..b6ad99c 100644 --- a/dlls/commdlg/fontdlg.c +++ b/dlls/commdlg/fontdlg.c @@ -1076,7 +1076,6 @@ LRESULT CFn_WMPaint(HWND hDlg, WPARAM wP HDC hdc; HPEN hOrigPen; HFONT hOrigFont; - COLORREF rgbPrev; LOGFONTW lf = *(lpcf->lpLogFont); MapWindowPoints( 0, hDlg, (LPPOINT) &info.rcWindow, 2); @@ -1104,7 +1103,7 @@ LRESULT CFn_WMPaint(HWND hDlg, WPARAM wP info.rcWindow.top++; info.rcWindow.left++; hOrigFont = SelectObject( hdc, CreateFontIndirectW( &lf ) ); - rgbPrev=SetTextColor( hdc, lpcf->rgbColors ); + SetTextColor( hdc, lpcf->rgbColors ); DrawTextW( hdc, sample_lang_text[CHARSET_ORDER[lpcf->lpLogFont->lfCharSet]], diff --git a/dlls/winaspi/aspi.c b/dlls/winaspi/aspi.c index 35c8c8a..85e7dcf 100644 --- a/dlls/winaspi/aspi.c +++ b/dlls/winaspi/aspi.c @@ -221,7 +221,7 @@ DWORD ASPI_GetHCforController( int contr RegCloseKey(hkeyPort); return ((--i) << 16) + atoiW(&wPortName[9]); -}; +} int SCSI_OpenDevice( int h, int c, int t, int d ) {
participants (1)
-
Alexandre Julliard