mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
Revert "Support for the printf optimisation for windows and wide strings"
This reverts commit acd28fa495
.
This commit is contained in:
@ -51,9 +51,7 @@ pub fn println(s string) {
|
||||
panic('println(NIL)')
|
||||
}
|
||||
$if windows {
|
||||
// HACKY HACK
|
||||
// use capital s for printing regular ascii strings
|
||||
C.wprintf(C.TEXT('%.*S\n'), s.len, s)
|
||||
C._putws(s.to_wide())
|
||||
} $else {
|
||||
C.printf('%.*s\n', s.len, s.str)
|
||||
}
|
||||
|
Reference in New Issue
Block a user