[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;
- [gnuastro-commits] master updated (4e2e9cb -> 71610b9), Mohammad Akhlaghi, 2016/07/23
- [gnuastro-commits] master 70e7da4 2/7: function sanitycheck inside ui.c will fail always if matrixname is not NULL, Mohammad Akhlaghi, 2016/07/23
- [gnuastro-commits] master f5c447d 4/7: Wrong 755 permissions for two .conf files, Mohammad Akhlaghi, 2016/07/23
- [gnuastro-commits] master 2e3abf8 3/7: fix error messages in imgcrop,
Mohammad Akhlaghi <=
- [gnuastro-commits] master 89dd04b 6/7: Merged fix to bug #48516, Mohammad Akhlaghi, 2016/07/23
- [gnuastro-commits] master 634b601 5/7: Merged fix to bug 48453 in master, Mohammad Akhlaghi, 2016/07/23
- [gnuastro-commits] master 29e3269 1/7: bug 109074 - copy paste error in NoiseChisel, Mohammad Akhlaghi, 2016/07/23
- [gnuastro-commits] master 71610b9 7/7: Merged fix to bug #48603, Mohammad Akhlaghi, 2016/07/23