Ok i fix all my problem lol

i make a big image called "texture.xpm" its 32x32
and contain 5 images in it.

image #1 start at 0,0 to 16,16
image #2 start at 16,0 to 32,16
image #3 start at 0,16 to 16, 32
image #4 start at 16, 16 to 25,32
// not image #5 start at ?? to ?? // i want to put #4 before..

there is how i call the image :

hpg_t *img = hpg_load_xpm_gray16(texture_xpm);
hpg_blit(img, 0, 0, 16, 16, hpg_stdscreen, 4, 16); // image #1
WORK PERFECTLY
hpg_blit(img, 16, 0, 32, 16, hpg_stdscreen, 22, 16); // image #2 WORK
PERFECTLY
hpg_blit(img, 0, 16, 16, 32, hpg_stdscreen, 40, 16); // image #3 WORK
PERFECTLY
hpg_blit(img, 16, 16, 25, 32, hpg_stdscreen, 59, 16);// image #4 DONT'
WORK i see 16,16 to 32,32 (with the #5 image) Why ???

//hpg_blit(img, 26, 16, 32, 32, hpg_stdscreen, 75, 16);


I don't know why i can't make a rectangle region ? and i try to put
24,24.. same thing i view 16,16 to 32,32...

i really don't know why..
if someone can help me that will be really fine.. i begin to see the
light hehe... (lot of problem with convertion..)


Sylvain