24,7 → 24,6 |
if (pics[num_of_pics].image) img_destroy stdcall (pics[num_of_pics].image); |
pics[num_of_pics].path = NULL; |
} |
notify(IMAGES_CACHE_CLEARED); |
} |
|
|
42,8 → 41,6 |
|
if (strcmpn(#img_path, "http:", 5)!=0) || (strcmpn(#options, "http:", 5)!=0) |
{ |
debug("image options:"); |
debug(#options); |
//get path: absolute or relative |
if (options[0]=='/') |
strcpy(#img_path, #options); |
52,8 → 49,6 |
img_path[strrchr(#img_path, '/')] = '\0'; |
strcat(#img_path, #options); |
} |
debug("image img_path:"); |
debug(#img_path); |
cur_pic=GetOrSetPicNum(#img_path); |
if (!pics[cur_pic].path) |
{ |