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;
|
||||
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 wParam, LPARAM lParam, LPCHOOSEFONTW lpcf)
|
|||
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]],
|
||||
|
|
|
@ -221,7 +221,7 @@ DWORD ASPI_GetHCforController( int controller )
|
|||
RegCloseKey(hkeyPort);
|
||||
|
||||
return ((--i) << 16) + atoiW(&wPortName[9]);
|
||||
};
|
||||
}
|
||||
|
||||
int SCSI_OpenDevice( int h, int c, int t, int d )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue