From: ishmal Date: Thu, 27 Jul 2006 09:41:22 +0000 (+0000) Subject: fix typo. oops X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b17cf0c7ff15ddbbc2594605b93b5789e25dbe6c;p=inkscape.git fix typo. oops --- diff --git a/src/trace/siox.cpp b/src/trace/siox.cpp index 84f3b39d2..f06f943e0 100644 --- a/src/trace/siox.cpp +++ b/src/trace/siox.cpp @@ -1642,8 +1642,8 @@ void Siox::normalizeMatrix(float *cm, int cmSize) { float max= -1000000.0f; for (int i=0; i max) - max=cm[i]; + if (cm[i] > max) max=cm[i]; + //good to use STL, but max() is not iterative //float max = *std::max(cm, cm + cmSize);