Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Stephane-D/SGDK
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephane-D committed Nov 12, 2024
2 parents d1bb108 + 0830f9a commit 1010efa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/vdp_bg.c
Original file line number Diff line number Diff line change
Expand Up @@ -387,11 +387,10 @@ void VDP_drawTextFill(const char* str, u16 x, u16 y, u16 len)
char fixedStr[len + 1];
char* dst = fixedStr;
const char* src;
u16 ind;

src = str;
// copy str
while ((*dst++ = *src++)) ind++;
while ((*dst++ = *src++));
// revert '\0' terminator
--dst;

Expand Down

0 comments on commit 1010efa

Please sign in to comment.