Skip to content

Commit

Permalink
Cosmetic
Browse files Browse the repository at this point in the history
  • Loading branch information
Skywalker13 committed Jul 15, 2022
1 parent cb02c87 commit 16981e2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/text.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ class Font

void Draw (CPixmap * pPixmap, Point pos, const char * pText, Sint32 slope)
{
Uint32 format;
Uint32 format;
int access;
SDL_Rect r0;

Expand All @@ -137,7 +137,7 @@ class Font
SDL_FreeSurface (text);
}

SDL_QueryTexture(texOutline, &format, &access, &r0.w, &r0.h);
SDL_QueryTexture (texOutline, &format, &access, &r0.w, &r0.h);
r0.x = pos.x;
r0.y = pos.y;

Expand Down Expand Up @@ -166,7 +166,7 @@ class Font
}

SDL_Rect r;
SDL_QueryTexture(texBase, &format, &access, &r.w, &r.h);
SDL_QueryTexture (texBase, &format, &access, &r.w, &r.h);
r.x = pos.x + (isRTL ? -1 : 1);
r.y = pos.y + 1;

Expand Down

0 comments on commit 16981e2

Please sign in to comment.