[babl] bin: show source format in verbose/default output



commit 8e00da87c171b7476765cc9d0f9038e3ebd3635b
Author: Øyvind Kolås <pippin gimp org>
Date:   Fri Jul 29 22:26:56 2022 +0200

    bin: show source format in verbose/default output

 bin/babl.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/bin/babl.c b/bin/babl.c
index d82315680..8867654d0 100644
--- a/bin/babl.c
+++ b/bin/babl.c
@@ -311,7 +311,9 @@ main (int    argc,
   data_index   = 0;
 
   if (! brief_output)
-    printf ("Conversion as \"%s\":\n", babl_get_name (to_format));
+    printf ("Converting from \"%s\" to \"%s\":\n",
+                    babl_get_name (from_format),
+                    babl_get_name (to_format));
 
   for (c = 0; c < n_components; c++)
     {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]