Commit 3a50fd9d authored by Marko Mäkelä's avatar Marko Mäkelä

Simplify page_is_comp().

parent a039d6c3
...@@ -295,7 +295,7 @@ page_is_comp( ...@@ -295,7 +295,7 @@ page_is_comp(
/*=========*/ /*=========*/
const page_t* page) /*!< in: index page */ const page_t* page) /*!< in: index page */
{ {
return(page_header_get_field(page, PAGE_N_HEAP) & 0x8000); return(page[PAGE_HEADER + PAGE_N_HEAP] & 0x80);
} }
/************************************************************//** /************************************************************//**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment