From 24a8ff2dd78287943a81306988a826c47ce2b297 Mon Sep 17 00:00:00 2001 From: tonton Th Date: Tue, 12 Nov 2019 14:10:45 +0100 Subject: [PATCH] mmmmm, non usable code commited ? --- lib/fimg-core.c | 2 +- lib/t.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/fimg-core.c b/lib/fimg-core.c index 7571a1c4..e230bcbe 100644 --- a/lib/fimg-core.c +++ b/lib/fimg-core.c @@ -172,7 +172,7 @@ if (foo) { return -3; } -if (flag & 0x01) { +if (flags & 0x01) { /* XXX copy all the pixels's datas */ } diff --git a/lib/t.c b/lib/t.c index 6c41ab0b..4ed6fb71 100644 --- a/lib/t.c +++ b/lib/t.c @@ -110,6 +110,7 @@ while ((opt = getopt(argc, argv, "gn:v")) != -1) { if (verbosity) fimg_print_version(0); foo = essai_contraste("src.fimg"); -fprintf(stderr, "retour essai contraste -> %d\n", +fprintf(stderr, "retour essai contraste -> %d\n", foo); + return 0; }