summaryrefslogtreecommitdiff
path: root/arm9/lib/src
diff options
context:
space:
mode:
authorred031000 <rubenru09@aol.com>2020-05-23 23:16:51 +0100
committerred031000 <rubenru09@aol.com>2020-05-23 23:16:51 +0100
commit77ebfad667ae038119b4413b87c99d0497f2d522 (patch)
tree6751602824dc919c25de0d8c0e32df4797cd3874 /arm9/lib/src
parent1334c01c979e00c73941cd58b05ccb302cee10cd (diff)
octal enum
Diffstat (limited to 'arm9/lib/src')
-rw-r--r--arm9/lib/src/OS_printf.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/arm9/lib/src/OS_printf.c b/arm9/lib/src/OS_printf.c
index 1c4d78b1..026bc2d7 100644
--- a/arm9/lib/src/OS_printf.c
+++ b/arm9/lib/src/OS_printf.c
@@ -760,16 +760,16 @@ ARM_FUNC s32 OS_VSNPrintf(s8 *buffer, s32 bufsz, const s8 *format, void *args)
else
{
enum {
- blank = 1,
- plus = 2,
- sharp = 4,
- minus = 10,
- zero = 20,
- l1 = 40,
- h1 = 100,
- l2 = 200,
- h2 = 400,
- usigned = 10000,
+ blank = 000001,
+ plus = 000002,
+ sharp = 000004,
+ minus = 000010,
+ zero = 000020,
+ l1 = 000040,
+ h1 = 000100,
+ l2 = 000200,
+ h2 = 000400,
+ usigned = 010000,
end
};
s32 flag = 0, width = 0, precision = -1, radix = 10;