diff --git a/.gitignore b/.gitignore index b24b5b2..9c0c463 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ # Build files /build-fx /build-cg +/build-cg-push /*.g1a /*.g3a diff --git a/src/stdio/printf.c b/src/stdio/printf.c index 6da25cb..ca21be8 100644 --- a/src/stdio/printf.c +++ b/src/stdio/printf.c @@ -191,6 +191,7 @@ static struct printf_test const usual_tests[] = { { "%p", PTR(0xa44b0000), "0xa44b0000" }, /* Characters and strings */ { "%s", STR("HellWrld!"), "HellWrld!" }, + { "[%-8.5s]", STR("He"), "[He ]" }, { "%-8.5s", STR("Hello, World!"), "Hello " }, { "%c", I32(100), "d" }, { "%6c", I32('#'), " #", },