mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 21:42:57 +00:00
rollback change
svn path=/trunk/; revision=16355
This commit is contained in:
parent
30a6f296fd
commit
077fa44358
1 changed files with 2 additions and 2 deletions
|
@ -37,11 +37,11 @@ void Font_DrawText(HDC hDC, LPCTSTR lpszText, int x, int y)
|
||||||
if ((lpszText[i] >= '0') && (lpszText[i] <= '9')) {
|
if ((lpszText[i] >= '0') && (lpszText[i] <= '9')) {
|
||||||
BitBlt(hDC, x + (i * 8), y, 8, 11, hFontDC, (lpszText[i] - '0') * 8, 0, SRCCOPY);
|
BitBlt(hDC, x + (i * 8), y, 8, 11, hFontDC, (lpszText[i] - '0') * 8, 0, SRCCOPY);
|
||||||
}
|
}
|
||||||
else if (lpszText[i] == '%')
|
else if (lpszText[i] == 'K')
|
||||||
{
|
{
|
||||||
BitBlt(hDC, x + (i * 8), y, 8, 11, hFontDC, 80, 0, SRCCOPY);
|
BitBlt(hDC, x + (i * 8), y, 8, 11, hFontDC, 80, 0, SRCCOPY);
|
||||||
}
|
}
|
||||||
else if (lpszText[i] == 'K')
|
else if (lpszText[i] == '%')
|
||||||
{
|
{
|
||||||
BitBlt(hDC, x + (i * 8), y, 8, 11, hFontDC, 88, 0, SRCCOPY);
|
BitBlt(hDC, x + (i * 8), y, 8, 11, hFontDC, 88, 0, SRCCOPY);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue