Skip to content

Commit

Permalink
Fixed crashing typo. Thanks Vittorio!
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Nov 11, 2009
1 parent b4a2063 commit d981898
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion IMG_ImageIO.c
Expand Up @@ -298,7 +298,7 @@ static SDL_Surface* Create_SDL_Surface_From_CGImage(CGImageRef image_ref)
#else
Uint8 A = p[0];
if (A) {
for (j = 1; i < 4; ++j) {
for (j = 1; j < 4; ++j) {
p[j] = (p[j] * 255) / A;
}
}
Expand Down
2 changes: 1 addition & 1 deletion IMG_UIImage.m
Expand Up @@ -90,7 +90,7 @@
#else
Uint8 A = p[0];
if (A) {
for (j = 1; i < 4; ++j) {
for (j = 1; j < 4; ++j) {
p[j] = (p[j] * 255) / A;
}
}
Expand Down

0 comments on commit d981898

Please sign in to comment.