summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrique Dante de Almeida <hdante@profusion.mobi>2013-01-29 11:32:44 -0200
committerLucas De Marchi <lucas.demarchi@profusion.mobi>2013-02-26 10:17:28 -0300
commit2656d7097e30c479d3457eb3785d6c70b38ea107 (patch)
treed97aabe4a123f8173fac4732946e9ad675cc276c
parent2ca0be9316d63da11d88a1b2c85606e020790911 (diff)
evas: Fix PSD image loading
-rw-r--r--src/bin/evas/loaders/psd/evas_image_load_psd.c2
-rw-r--r--src/modules/evas/loaders/psd/evas_image_load_psd.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/evas/loaders/psd/evas_image_load_psd.c b/src/bin/evas/loaders/psd/evas_image_load_psd.c
index 76666cce62..1416bf25e0 100644
--- a/src/bin/evas/loaders/psd/evas_image_load_psd.c
+++ b/src/bin/evas/loaders/psd/evas_image_load_psd.c
@@ -371,7 +371,7 @@ psd_get_data(PSD_Header *head,
371 371
372 for (y = 0; y < head->height * bps2; y += bps2) 372 for (y = 0; y < head->height * bps2; y += bps2)
373 { 373 {
374 for (x = 0; x < (unsigned int)bps2; x += bpp, shortptr) 374 for (x = 0; x < (unsigned int)bps2; x += bpp, shortptr++)
375 { 375 {
376 unsigned int newval; 376 unsigned int newval;
377 377
diff --git a/src/modules/evas/loaders/psd/evas_image_load_psd.c b/src/modules/evas/loaders/psd/evas_image_load_psd.c
index 499747a79f..d15e7922f4 100644
--- a/src/modules/evas/loaders/psd/evas_image_load_psd.c
+++ b/src/modules/evas/loaders/psd/evas_image_load_psd.c
@@ -370,7 +370,7 @@ psd_get_data(Image_Entry *ie EINA_UNUSED,
370 370
371 for (y = 0; y < head->height * bps2; y += bps2) 371 for (y = 0; y < head->height * bps2; y += bps2)
372 { 372 {
373 for (x = 0; x < (unsigned int)bps2; x += bpp, shortptr) 373 for (x = 0; x < (unsigned int)bps2; x += bpp, shortptr++)
374 { 374 {
375 unsigned int newval; 375 unsigned int newval;
376 376