summaryrefslogtreecommitdiffstats
path: root/src/transf_mat_3x4.cpp
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2019-01-02 09:52:13 +0000
committerMarc Jeanmougin <marc@jeanmougin.fr>2019-01-02 09:52:13 +0000
commit3d15e9e5d472920043498e741c52333db2d60415 (patch)
tree91783db00e3c6339f10465569efa2228314f0056 /src/transf_mat_3x4.cpp
parentmodernize loops (diff)
downloadinkscape-3d15e9e5d472920043498e741c52333db2d60415.tar.gz
inkscape-3d15e9e5d472920043498e741c52333db2d60415.zip
modernize loops (2)
Diffstat (limited to 'src/transf_mat_3x4.cpp')
-rw-r--r--src/transf_mat_3x4.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transf_mat_3x4.cpp b/src/transf_mat_3x4.cpp
index 7af2d86c5..391783b68 100644
--- a/src/transf_mat_3x4.cpp
+++ b/src/transf_mat_3x4.cpp
@@ -161,8 +161,8 @@ TransfMat3x4::print () const {
g_print ("Transformation matrix:\n");
for (const auto & i : tmat) {
g_print (" ");
- for (int j = 0; j < 4; ++j) {
- g_print ("%8.2f ", i[j]);
+ for (double j : i) {
+ g_print ("%8.2f ", j);
}
g_print ("\n");
}