Corretto metodo page_enabled
git-svn-id: svn://10.65.10.50/trunk@2554 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
195bcc0381
commit
188e1d0430
@ -484,9 +484,11 @@ void TMask::enable_page(
|
||||
|
||||
// Controlla lo stato di abilitazione di una pagina
|
||||
// Certified 100%
|
||||
bool TMask::page_enabled(byte page) const
|
||||
{
|
||||
return _enabled[page];
|
||||
bool TMask::page_enabled(byte p) const
|
||||
{
|
||||
CHECKD(p <= MAX_PAGES, "Page too high ", (int)p);
|
||||
const bool on = _pagewin[p] != NULL_WIN && _enabled[p];
|
||||
return on;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user