[gegl] buffer: clean up misleading indentation
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] buffer: clean up misleading indentation
- Date: Tue, 20 Sep 2016 10:11:11 +0000 (UTC)
commit e6ee68afecdf826e2441bb4d77e0e7214fa6a353
Author: Øyvind Kolås <pippin gimp org>
Date: Tue Sep 20 11:52:36 2016 +0200
buffer: clean up misleading indentation
gegl/buffer/gegl-buffer-access.c | 36 ++++++++++++++++++------------------
1 files changed, 18 insertions(+), 18 deletions(-)
---
diff --git a/gegl/buffer/gegl-buffer-access.c b/gegl/buffer/gegl-buffer-access.c
index 4cbb1cc..347e0d4 100644
--- a/gegl/buffer/gegl-buffer-access.c
+++ b/gegl/buffer/gegl-buffer-access.c
@@ -1580,26 +1580,26 @@ gegl_buffer_copy2 (GeglBuffer *src,
if (src_rect->width == 0 || src_rect->height == 0)
return;
- {
- GeglRectangle dest_rect_r = *dst_rect;
- GeglBufferIterator *i;
- gint offset_x = src_rect->x - dst_rect->x;
- gint offset_y = src_rect->y - dst_rect->y;
+ {
+ GeglRectangle dest_rect_r = *dst_rect;
+ GeglBufferIterator *i;
+ gint offset_x = src_rect->x - dst_rect->x;
+ gint offset_y = src_rect->y - dst_rect->y;
- dest_rect_r.width = src_rect->width;
- dest_rect_r.height = src_rect->height;
+ dest_rect_r.width = src_rect->width;
+ dest_rect_r.height = src_rect->height;
- i = gegl_buffer_iterator_new (dst, &dest_rect_r, 0, dst->soft_format,
- GEGL_ACCESS_WRITE, repeat_mode);
- while (gegl_buffer_iterator_next (i))
- {
- GeglRectangle src_rect = i->roi[0];
- src_rect.x += offset_x;
- src_rect.y += offset_y;
- gegl_buffer_iterate_read_dispatch (src, &src_rect, i->data[0], 0,
- dst->soft_format, 0, repeat_mode);
- }
- }
+ i = gegl_buffer_iterator_new (dst, &dest_rect_r, 0, dst->soft_format,
+ GEGL_ACCESS_WRITE, repeat_mode);
+ while (gegl_buffer_iterator_next (i))
+ {
+ GeglRectangle src_rect = i->roi[0];
+ src_rect.x += offset_x;
+ src_rect.y += offset_y;
+ gegl_buffer_iterate_read_dispatch (src, &src_rect, i->data[0], 0,
+ dst->soft_format, 0, repeat_mode);
+ }
+ }
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]