er, fix typo in the fix-rmitton checkin

pull/175/head
Sean Barrett 2015-09-13 05:12:53 -07:00
parent 082289b528
commit 0eb5da55a7
1 changed files with 1 additions and 1 deletions

View File

@ -5209,7 +5209,7 @@ static stbi_uc *stbi__psd_load(stbi__context *s, int *x, int *y, int *comp, int
// Read the data.
if (bitdepth == 16) {
for (i = 0; i < pixelCount; i++, p += 4)
*p = stbi__get16be(s) >> 8
*p = stbi__get16be(s) >> 8;
} else {
for (i = 0; i < pixelCount; i++, p += 4)
*p = stbi__get8(s);