clang-tidy: readability-misleading-indentation
[geeqie.git] / src / similar.cc
index bd090ca..62a39ae 100644 (file)
@@ -213,7 +213,7 @@ void image_sim_fill_data(ImageSimilarityData *sd, GdkPixbuf *pixbuf)
        for (ys = 0; ys < 32; ys++)
                {
                if (y_small) j = static_cast<gdouble>(h) / 32 * ys;
-                       else y_inc = mround(static_cast<gdouble>(h_left)/(32-ys));
+               else y_inc = mround(static_cast<gdouble>(h_left)/(32-ys));
                i = 0;
 
                w_left = w;
@@ -225,7 +225,7 @@ void image_sim_fill_data(ImageSimilarityData *sd, GdkPixbuf *pixbuf)
                        guchar *xpos;
 
                        if (x_small) i = static_cast<gdouble>(w) / 32 * xs;
-                               else x_inc = mround(static_cast<gdouble>(w_left)/(32-xs));
+                       else x_inc = mround(static_cast<gdouble>(w_left)/(32-xs));
                        xy_inc = x_inc * y_inc;
                        r = g = b = 0;
                        xpos = pix + (i * p_step);