1
1
Fork 0
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:
Galleon 2013-03-12 00:19:33 +11:00
parent ae49d76fe6
commit c8708c8021

View file

@ -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;