aboutsummaryrefslogtreecommitdiffstats
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)
downloadefl-2656d7097e30c479d3457eb3785d6c70b38ea107.tar.gz
efl-2656d7097e30c479d3457eb3785d6c70b38ea107.tar.xz
efl-2656d7097e30c479d3457eb3785d6c70b38ea107.zip
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 76666cce6..1416bf25e 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,
for (y = 0; y < head->height * bps2; y += bps2)
{
- for (x = 0; x < (unsigned int)bps2; x += bpp, shortptr)
+ for (x = 0; x < (unsigned int)bps2; x += bpp, shortptr++)
{
unsigned int newval;
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 499747a79..d15e7922f 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,
for (y = 0; y < head->height * bps2; y += bps2)
{
- for (x = 0; x < (unsigned int)bps2; x += bpp, shortptr)
+ for (x = 0; x < (unsigned int)bps2; x += bpp, shortptr++)
{
unsigned int newval;