Removed some dead-code.
This commit is contained in:
parent
8cddd5d2fb
commit
ada6df3a84
@ -1076,7 +1076,6 @@ LRESULT CFn_WMPaint(HWND hDlg, WPARAM wParam, LPARAM lParam, LPCHOOSEFONTW lpcf)
|
|||||||
HDC hdc;
|
HDC hdc;
|
||||||
HPEN hOrigPen;
|
HPEN hOrigPen;
|
||||||
HFONT hOrigFont;
|
HFONT hOrigFont;
|
||||||
COLORREF rgbPrev;
|
|
||||||
LOGFONTW lf = *(lpcf->lpLogFont);
|
LOGFONTW lf = *(lpcf->lpLogFont);
|
||||||
|
|
||||||
MapWindowPoints( 0, hDlg, (LPPOINT) &info.rcWindow, 2);
|
MapWindowPoints( 0, hDlg, (LPPOINT) &info.rcWindow, 2);
|
||||||
@ -1104,7 +1103,7 @@ LRESULT CFn_WMPaint(HWND hDlg, WPARAM wParam, LPARAM lParam, LPCHOOSEFONTW lpcf)
|
|||||||
info.rcWindow.top++;
|
info.rcWindow.top++;
|
||||||
info.rcWindow.left++;
|
info.rcWindow.left++;
|
||||||
hOrigFont = SelectObject( hdc, CreateFontIndirectW( &lf ) );
|
hOrigFont = SelectObject( hdc, CreateFontIndirectW( &lf ) );
|
||||||
rgbPrev=SetTextColor( hdc, lpcf->rgbColors );
|
SetTextColor( hdc, lpcf->rgbColors );
|
||||||
|
|
||||||
DrawTextW( hdc,
|
DrawTextW( hdc,
|
||||||
sample_lang_text[CHARSET_ORDER[lpcf->lpLogFont->lfCharSet]],
|
sample_lang_text[CHARSET_ORDER[lpcf->lpLogFont->lfCharSet]],
|
||||||
|
@ -221,7 +221,7 @@ DWORD ASPI_GetHCforController( int controller )
|
|||||||
RegCloseKey(hkeyPort);
|
RegCloseKey(hkeyPort);
|
||||||
|
|
||||||
return ((--i) << 16) + atoiW(&wPortName[9]);
|
return ((--i) << 16) + atoiW(&wPortName[9]);
|
||||||
};
|
}
|
||||||
|
|
||||||
int SCSI_OpenDevice( int h, int c, int t, int d )
|
int SCSI_OpenDevice( int h, int c, int t, int d )
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user