[gegl] fix embarrassing bug in tests... Doh!
- From: Simon Budig <simon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] fix embarrassing bug in tests... Doh!
- Date: Tue, 22 May 2012 00:13:36 +0000 (UTC)
commit 498d3cd76222053c54a5c24f8b7729958e33dc11
Author: Simon Budig <simon budig de>
Date: Tue May 22 02:13:07 2012 +0200
fix embarrassing bug in tests... Doh!
tests/buffer/tests/test_gegl_buffer_linear_iter.c | 2 +-
tests/buffer/tests/test_gegl_buffer_multcopy.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/buffer/tests/test_gegl_buffer_linear_iter.c b/tests/buffer/tests/test_gegl_buffer_linear_iter.c
index e32181b..e90419d 100644
--- a/tests/buffer/tests/test_gegl_buffer_linear_iter.c
+++ b/tests/buffer/tests/test_gegl_buffer_linear_iter.c
@@ -34,7 +34,7 @@ TEST ()
gint length = iter->length;
while (length--)
- *d = *s;
+ *d++ = *s++;
}
print_buffer (buffer);
diff --git a/tests/buffer/tests/test_gegl_buffer_multcopy.c b/tests/buffer/tests/test_gegl_buffer_multcopy.c
index 900eef1..5d8e65e 100644
--- a/tests/buffer/tests/test_gegl_buffer_multcopy.c
+++ b/tests/buffer/tests/test_gegl_buffer_multcopy.c
@@ -39,7 +39,7 @@ TEST ()
gint length = iter->length;
while (length--)
- *d = *s;
+ *d++ = *s++;
}
g_object_unref (buffer2);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]