mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-07-01 13:50:36 +00:00
Minor fix to _MEM.image correctly return the image handle of SCREEN pages
This commit is contained in:
parent
ae49d76fe6
commit
c8708c8021
|
@ -27424,7 +27424,8 @@ static int image_handle;
|
|||
static img_struct *im;
|
||||
if (passed){
|
||||
if (i>=0){
|
||||
validatepage(i); im=&img[image_handle=page[i]];
|
||||
validatepage(i); im=&img[image_handle=page[i]];
|
||||
image_handle=-image_handle;
|
||||
}else{
|
||||
image_handle=i;
|
||||
i=-i;
|
||||
|
|
Loading…
Reference in a new issue