winecfg: Remove bad default setting for logpixels registery.

This commit is contained in:
Nigel Liang 2007-08-02 16:33:23 -07:00 committed by Alexandre Julliard
parent 2d5a89bab0
commit 35f4e95c36
1 changed files with 1 additions and 1 deletions

View File

@ -245,7 +245,7 @@ static INT read_logpixels_reg(void)
{
DWORD dwLogPixels;
char *buf = get_reg_key(HKEY_LOCAL_MACHINE, logpixels_reg,
"LogPixels", (const char *)MAXDPI);
"LogPixels", NULL);
dwLogPixels = *buf;
HeapFree(GetProcessHeap(), 0, buf);
return dwLogPixels;