diff options
author | Kacper Michajłow <kasper93@gmail.com> | 2024-03-21 04:38:00 +0100 |
---|---|---|
committer | Kacper Michajłow <kasper93@gmail.com> | 2024-04-07 20:23:04 +0200 |
commit | c389f9e75ebbac346eb8bf7ea0f788bc86a90187 (patch) | |
tree | ba58a0059037c2f8a64501d40510cd9748035a69 /osdep/terminal.h | |
parent | 6177aa76161703bdd710240d0d4ca955a688e4ea (diff) | |
download | mpv-c389f9e75ebbac346eb8bf7ea0f788bc86a90187.tar.bz2 mpv-c389f9e75ebbac346eb8bf7ea0f788bc86a90187.tar.xz |
win32: change fputs to fwrite wrapper
Removes mp_puts/mp_fputs and adds mp_fwrite.
In fact I wanted fwrite instead of puts, no need to make it more awkward
with the implicit new lines.
Fixes: fc55f355fc8225328cf0472e3deb4021eba96303
Diffstat (limited to 'osdep/terminal.h')
-rw-r--r-- | osdep/terminal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/osdep/terminal.h b/osdep/terminal.h index fdbe02eadf..c83b0a26ca 100644 --- a/osdep/terminal.h +++ b/osdep/terminal.h @@ -57,7 +57,7 @@ void terminal_get_size2(int *rows, int *cols, int *px_width, int *px_height); // Windows only. int mp_console_vfprintf(void *wstream, const char *format, va_list args); -int mp_console_fputs(void *wstream, bstr str); +int mp_console_write(void *wstream, bstr str); bool mp_check_console(void *handle); /* Windows-only function to attach to the parent process's console */ |