mirror of
https://github.com/reactos/reactos.git
synced 2024-10-07 01:44:21 +00:00
[FREELDR]
Allow VideoMode to be set via decimal, hexadecimal, ... number representation in bootcd/livecd/freeldr.ini (see the Brian Palmer's FREELDR.INI example). svn path=/trunk/; revision=58005
This commit is contained in:
parent
8cc13f35dd
commit
48c15d9799
|
@ -909,7 +909,7 @@ PcVideoSetDisplayMode(char *DisplayModeName, BOOLEAN Init)
|
|||
}
|
||||
else
|
||||
{
|
||||
VideoMode = atoi(DisplayModeName);
|
||||
VideoMode = (USHORT)strtoul(DisplayModeName, NULL, 0); // atoi(DisplayModeName);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue