mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 03:51:18 +00:00
Fix Formatter.print returning incorrect size (#2306)
* Fix `Formatter.print` returning incorrect size
This commit is contained in:
committed by
GitHub
parent
adb3df05c6
commit
cf913b41c6
@@ -660,7 +660,6 @@ fn usz? Formatter.out_char(&self, any arg) @private
|
||||
fn usz? Formatter.out_reverse(&self, char[] buf) @private
|
||||
{
|
||||
usz n;
|
||||
usz buffer_start_idx = self.idx;
|
||||
usz len = buf.len;
|
||||
// pad spaces up to given width
|
||||
if (!self.flags.zeropad && !self.flags.left)
|
||||
|
||||
Reference in New Issue
Block a user