[gimp] app: fix formatting in previous commit
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: fix formatting in previous commit
- Date: Tue, 27 Mar 2018 22:45:15 +0000 (UTC)
commit 69d5201d59e8bdac21003c7a6da06b535997a629
Author: Michael Natterer <mitch gimp org>
Date: Wed Mar 28 00:44:33 2018 +0200
app: fix formatting in previous commit
app/display/gimpdisplayshell-render.c | 14 ++++++--------
1 files changed, 6 insertions(+), 8 deletions(-)
---
diff --git a/app/display/gimpdisplayshell-render.c b/app/display/gimpdisplayshell-render.c
index 63ae0db..a385137 100644
--- a/app/display/gimpdisplayshell-render.c
+++ b/app/display/gimpdisplayshell-render.c
@@ -88,7 +88,6 @@ gimp_display_shell_render (GimpDisplayShell *shell,
cairo_data = cairo_image_surface_get_data (xfer) +
xfer_src_y * cairo_stride + xfer_src_x * 4;
-
if (shell->profile_transform ||
gimp_display_shell_has_filter (shell))
{
@@ -228,12 +227,12 @@ gimp_display_shell_render (GimpDisplayShell *shell,
}
else
{
- GeglBuffer *buffer = gegl_buffer_linear_new_from_data (
- cairo_data,
- babl_format ("cairo-ARGB32"),
- GEGL_RECTANGLE (0, 0, w, h),
- cairo_stride,
- NULL, NULL);
+ GeglBuffer *buffer =
+ gegl_buffer_linear_new_from_data (cairo_data,
+ babl_format ("cairo-ARGB32"),
+ GEGL_RECTANGLE (0, 0, w, h),
+ cairo_stride,
+ NULL, NULL);
/* otherwise, convert the profile_buffer directly into
* the cairo_buffer
@@ -279,7 +278,6 @@ gimp_display_shell_render (GimpDisplayShell *shell,
#endif
}
-
#ifdef USE_NODE_BLIT
gimp_projectable_end_render (GIMP_PROJECTABLE (image));
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]