Skip to content

Commit

Permalink
Merge pull request #744 from openmultiplayer/hual/742
Browse files Browse the repository at this point in the history
Fix issue with atcprintf not incrementing output length when adding - in trailing zero mode
  • Loading branch information
AmyrAhmady authored Oct 18, 2023
2 parents a32e732 + 39be4f6 commit cb19455
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Server/Components/Pawn/format.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,7 @@ void AddInt(U** buf_p, size_t& maxlen, int val, int width, int flags)
if (flags & ZEROPAD)
{
*buf++ = '-';
maxlen--;
}
else
{
Expand Down

0 comments on commit cb19455

Please sign in to comment.