diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/display/nr-filter-morphology.cpp | 2 | ||||
| -rw-r--r-- | src/sp-fecolormatrix.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/display/nr-filter-morphology.cpp b/src/display/nr-filter-morphology.cpp index bbf26c87c..07b1b1d94 100644 --- a/src/display/nr-filter-morphology.cpp +++ b/src/display/nr-filter-morphology.cpp @@ -60,7 +60,7 @@ int FilterMorphology::render(FilterSlot &slot, Matrix const &trans) { if(in_data[4*(i + w*j)+3]<amin) amin = in_data[4*(i + w*j)+3]; } } - if (Operator==MORPHOLOGY_OPERATOR_ERODE){ + if (Operator==MORPHOLOGY_OPERATOR_DILATE){ out_data[4*(x + w*y)]=rmax; out_data[4*(x + w*y)+1]=gmax; out_data[4*(x + w*y)+2]=bmax; diff --git a/src/sp-fecolormatrix.cpp b/src/sp-fecolormatrix.cpp index e158839ba..d8d931db1 100644 --- a/src/sp-fecolormatrix.cpp +++ b/src/sp-fecolormatrix.cpp @@ -6,8 +6,10 @@ */ /* * Authors: + * Felipe Sanches <felipe.sanches@gmail.com> * hugo Rodrigues <haa.rodrigues@gmail.com> * + * Copyright (C) 2007 Felipe C. da S. Sanches * Copyright (C) 2006 Hugo Rodrigues * * Released under GNU GPL, read the file 'COPYING' for more information |
