[gimp/gimp-2-10] Issue #1841 - Export As... mng swaps width and height
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-10] Issue #1841 - Export As... mng swaps width and height
- Date: Fri, 13 Jul 2018 15:59:56 +0000 (UTC)
commit c4ba9c36a6e0c9d710b3158214b6ca62736d85dc
Author: Michael Natterer <mitch gimp org>
Date: Fri Jul 13 17:55:19 2018 +0200
Issue #1841 - Export As... mng swaps width and height
layer_cols and layer_rows were swapped.
(cherry picked from commit 44b469e49352eae74994d29576271d2a2feb0168)
plug-ins/common/file-mng.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/common/file-mng.c b/plug-ins/common/file-mng.c
index f1f4c6da8c..de1bf3a3d0 100644
--- a/plug-ins/common/file-mng.c
+++ b/plug-ins/common/file-mng.c
@@ -849,8 +849,8 @@ mng_save_image (const gchar *filename,
layer_drawable_type = gimp_drawable_type (layers[i]);
layer_buffer = gimp_drawable_get_buffer (layers[i]);
- layer_rows = gegl_buffer_get_width (layer_buffer);
- layer_cols = gegl_buffer_get_height (layer_buffer);
+ layer_cols = gegl_buffer_get_width (layer_buffer);
+ layer_rows = gegl_buffer_get_height (layer_buffer);
gimp_drawable_offsets (layers[i], &layer_offset_x, &layer_offset_y);
layer_has_unique_palette = TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]