[gimp/goat-invasion] ==== me too ====



commit b59d47162bfed5d8c642105987f36f34a9dbce5a
Author: Michael Natterer <mitch gimp org>
Date:   Sun Apr 8 18:55:07 2012 +0200

    ==== me too ====

 app/core/gimppalette.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/core/gimppalette.c b/app/core/gimppalette.c
index 21357ea..e4901d9 100644
--- a/app/core/gimppalette.c
+++ b/app/core/gimppalette.c
@@ -211,7 +211,7 @@ gimp_palette_get_new_preview (GimpViewable *viewable,
   gint         cell_size;
   gint         x, y;
 
-  temp_buf = temp_buf_new (width, height, 3);
+  temp_buf = temp_buf_new (width, height, babl_format ("R'G'B' u8"));
   memset (temp_buf_get_data (temp_buf), 255, width * height * 3);
 
   if (palette->n_columns > 1)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]