diff --git a/source/fmt.c b/source/fmt.c index 718d36f..fa19519 100644 --- a/source/fmt.c +++ b/source/fmt.c @@ -263,7 +263,7 @@ u32 vsprintf(char *buf, const char *fmt, va_list args) //Integer number formats - set up the flags and "break" case 'X': flags |= UPPERCASE; - + //Falls through case 'x': isHex = true; break; @@ -271,7 +271,7 @@ u32 vsprintf(char *buf, const char *fmt, va_list args) case 'd': case 'i': flags |= SIGN; - + //Falls through case 'u': isHex = false; break; diff --git a/sysmodules/rosalina/source/fmt.c b/sysmodules/rosalina/source/fmt.c index 9403054..9de0715 100644 --- a/sysmodules/rosalina/source/fmt.c +++ b/sysmodules/rosalina/source/fmt.c @@ -259,7 +259,7 @@ int vsprintf(char *buf, const char *fmt, va_list args) //Integer number formats - set up the flags and "break" case 'X': flags |= UPPERCASE; - + //Falls through case 'x': isHex = true; break; @@ -267,7 +267,7 @@ int vsprintf(char *buf, const char *fmt, va_list args) case 'd': case 'i': flags |= SIGN; - + //Falls through case 'u': isHex = false; break;