Fix broken g_printerr call
This commit is contained in:
2
main.c
2
main.c
@@ -412,7 +412,7 @@ process_image(const int *p, int size)
|
|||||||
printf("Saving image\n");
|
printf("Saving image\n");
|
||||||
gdk_pixbuf_save(pixbufrot, fname, "jpeg", &error, "quality", "95", NULL);
|
gdk_pixbuf_save(pixbufrot, fname, "jpeg", &error, "quality", "95", NULL);
|
||||||
if (error != NULL) {
|
if (error != NULL) {
|
||||||
g_printerr(error->message);
|
g_printerr("%s\n", error->message);
|
||||||
g_clear_error(&error);
|
g_clear_error(&error);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user