1
0

code substitution: fix formatting

This commit is contained in:
Intel A80486DX2-66 2023-11-25 17:28:22 +03:00
parent 73710ae208
commit 24dc6a338e
Signed by: 80486DX2-66
GPG Key ID: 83631EF27054609B
2 changed files with 2 additions and 3 deletions

View File

@ -90,7 +90,7 @@ if __name__ == "__main__":
makedirs(PATHS["build_dir"], exist_ok=True)
if not args.no_return: # Insert return statement
bytebeat_contents = f"\treturn\n\n{bytebeat_contents}"
bytebeat_contents = f"return {bytebeat_contents}"
final_sample_rate_code = ""
if not args.final_sample_rate is None:

View File

@ -84,8 +84,7 @@ bytebeat(long double w)
{
`final_sample_rate_code`
uintmax_t t = (uintmax_t)w;
`bytebeat_contents`
;
`bytebeat_contents`;
}
#define USAGE "render_bytebeat [-s | --silent] [-d | --debug]"