From 7372ffdbb67bd457d4103e3705e02ba578bcc24c Mon Sep 17 00:00:00 2001 From: tth Date: Tue, 17 Mar 2020 09:29:20 +0100 Subject: [PATCH] coronavirus panic --- funcs/misc-plots.c | 2 ++ funcs/t.c | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/funcs/misc-plots.c b/funcs/misc-plots.c index ec22d4e4..187b26b3 100644 --- a/funcs/misc-plots.c +++ b/funcs/misc-plots.c @@ -46,6 +46,8 @@ for (x=0; xwidth; x++) { fimg_plot_rgb(fimg, x, y, fr, fg, fb); } + + return 0; } /* --------------------------------------------------------------------- */ diff --git a/funcs/t.c b/funcs/t.c index aff4abb6..31e010af 100644 --- a/funcs/t.c +++ b/funcs/t.c @@ -49,9 +49,10 @@ else { fprintf(stderr, "%s is creating the picz\n", __func__); fimg_create(&src, 640, 480, FIMG_TYPE_RGB); fimg_test_pattern(&src, 0, 255.0); - fimg_save_as_png(&src, "test.png", 0); } +fimg_save_as_png(&src, "test.png", 0); + foo = fimg_clone(&src, &dst, 0); fimg_filter_3x3(&src, &dst, &filter_a);