Skip to content

Commit

Permalink
Fix std::cstring::dtos
Browse files Browse the repository at this point in the history
  • Loading branch information
Ttimofeyka committed Jan 31, 2025
1 parent c170322 commit 382f90d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions std/cstring.rave
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,8 @@ namespace std {

while(buffer[i - 1] == '0') i -= 1;

if(buffer[i - 1] == '.') i -= 1;

buffer[i] = '\0';
} => buffer;

Expand Down

0 comments on commit 382f90d

Please sign in to comment.