fix > bug in get_img
This commit is contained in:
parent
9d091a4c61
commit
accef4412c
|
@ -2331,7 +2331,7 @@ img_t get_img(struct layout *layout, char *p)
|
|||
if (!img) {
|
||||
unix_path(p);
|
||||
if (!(img = gfx_load_image(p)))
|
||||
return NULL;
|
||||
goto out;
|
||||
theme_img_scale(&img); /* bad style, no gfx layer :( */
|
||||
}
|
||||
image = image_new(p, img);
|
||||
|
|
Reference in a new issue