[gimp] Bug 685590 - 16-bit Tiff loader crashes on Windows and Mac	both 64-bit
- From: Michael Natterer <mitch src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [gimp] Bug 685590 - 16-bit Tiff loader crashes on Windows and Mac	both 64-bit
 
- Date: Sat,  6 Oct 2012 12:37:13 +0000 (UTC)
 
commit 52c00faad5a9383730c08646d0e4dfac6358a7da
Author: Michael Natterer <mitch gimp org>
Date:   Sat Oct 6 14:35:30 2012 +0200
    Bug 685590 - 16-bit Tiff loader crashes on Windows and Mac both 64-bit
    
    The tile transfer SHM segment is now width*height*16 bytes large,
    not only width*height*4. I have no clue how this could work on
    32 bit systems.
 libgimp/gimp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgimp/gimp.c b/libgimp/gimp.c
index 00b3a42..9a8bc5d 100644
--- a/libgimp/gimp.c
+++ b/libgimp/gimp.c
@@ -114,7 +114,7 @@
  **/
 
 
-#define TILE_MAP_SIZE (_tile_width * _tile_height * 4)
+#define TILE_MAP_SIZE (_tile_width * _tile_height * 16)
 
 #define ERRMSG_SHM_FAILED "Could not attach to gimp shared memory segment"
 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]