Minor hack - allow formats with 'l' to be shown in printf.
authorKevin O'Connor <kevin@koconnor.net>
Sat, 8 Mar 2008 20:40:43 +0000 (15:40 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Sat, 8 Mar 2008 20:40:43 +0000 (15:40 -0500)
src/output.c

index 98517a0cc3214e2469c97c35e1a3ec73137d0571..7d2787f65a575b9d1a3b57db407717cd3e41d57f 100644 (file)
@@ -124,6 +124,11 @@ bprintf(u16 action, const char *fmt, ...)
                 break;
             n++;
         }
+        if (c == 'l') {
+            // Ignore long format indicator
+            n++;
+            c = GET_VAR(CS, (u8)*n);
+        }
         s32 val;
         const char *sarg;
         switch (c) {