mirror of
https://github.com/Ed94/gencpp.git
synced 2025-07-08 22:55:45 -07:00
Corrected order of Str to how the slice type is defined in Odin and RAD Debugger (my reference on slice types)
This commit is contained in:
@ -408,7 +408,7 @@ Str token_fmt_impl( ssize num, ... )
|
||||
ssize result = token_fmt_va(buf, GEN_PRINTF_MAXLEN, num, va);
|
||||
va_end(va);
|
||||
|
||||
Str str = { result, buf };
|
||||
Str str = { buf, result };
|
||||
return str;
|
||||
}
|
||||
#pragma endregion Interface
|
||||
|
Reference in New Issue
Block a user