use warn instead of printf for no image warning

This commit is contained in:
Rachel Lambda Samuelsson 2021-06-06 04:37:23 +02:00
parent a2615d01a7
commit 8e8998c7e7

View File

@ -196,7 +196,7 @@ void imlib_render(void) {
DEBUG("Rendering image\n"); DEBUG("Rendering image\n");
if (!im_image || !im_image_path) { if (!im_image || !im_image_path) {
printf("No image to render\n"); warn("No image to render");
return; return;
} }