[GRASS-SVN] r59201 - grass-addons/grass7/imagery/i.feo_tio2
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Mar 5 09:47:28 PST 2014
Author: ychemin
Date: 2014-03-05 09:47:26 -0800 (Wed, 05 Mar 2014)
New Revision: 59201
Modified:
grass-addons/grass7/imagery/i.feo_tio2/main.c
Log:
Corrected a flag issue
Modified: grass-addons/grass7/imagery/i.feo_tio2/main.c
===================================================================
--- grass-addons/grass7/imagery/i.feo_tio2/main.c 2014-03-05 15:10:42 UTC (rev 59200)
+++ grass-addons/grass7/imagery/i.feo_tio2/main.c 2014-03-05 17:47:26 UTC (rev 59201)
@@ -31,7 +31,7 @@
int row, col;
struct GModule *module;
struct Option *in0, *in1, *output, *param0, *param1;
- struct Flag *flag1, *flag2;
+ struct Flag *flag1;
struct History history; /*metadata */
struct Colors colors; /*Color rules */
@@ -129,7 +129,7 @@
Rast_is_d_null_value(&d1)){
Rast_set_d_null_value(&outrast[col], 1);
} else {
- if (flag2->answer){
+ if (flag1->answer){
outrast[col] = tio2(d0, d1, param_0, param_1);
} else {
outrast[col] = feo(d0, d1, param_0);
More information about the grass-commit
mailing list