gnuastro-commits
[Top][All Lists]
Advanced

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

[gnuastro-commits] master 2e3abf8 3/7: fix error messages in imgcrop


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master 2e3abf8 3/7: fix error messages in imgcrop
Date: Sat, 23 Jul 2016 16:06:49 +0000 (UTC)

branch: master
commit 2e3abf8e30805ec9c20574ff37c94085f46c8ae4
Author: Vladimir Markelov <address@hidden>
Commit: Vladimir Markelov <address@hidden>

    fix error messages in imgcrop
---
 src/imgcrop/ui.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/imgcrop/ui.c b/src/imgcrop/ui.c
index bb30d03..f789029 100644
--- a/src/imgcrop/ui.c
+++ b/src/imgcrop/ui.c
@@ -384,12 +384,12 @@ sanitycheck(struct imgcropparams *p)
 
   /* Width and checkcenter are odd */
   if(p->iwidth[0]<3)
-    error(EXIT_FAILURE, 0, "--iwidth has to be >3 pixels");
+    error(EXIT_FAILURE, 0, "--iwidth has to be 3 or more pixels");
   else if(p->iwidth[0]%2==0)
       p->iwidth[0]+=1;
   p->iwidth[1]=p->iwidth[0];
   if(p->checkcenter<3)
-    error(EXIT_FAILURE, 0, "--checkcenter has to be >3 pixels");
+    error(EXIT_FAILURE, 0, "--checkcenter has to be 3 or more pixels");
   else if(p->checkcenter%2==0)
     p->checkcenter+=1;
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]