mirror of
https://github.com/NikitaIvanovV/ctpv.git
synced 2025-06-20 18:08:02 +02:00
Minor: flush stdout on error
This commit is contained in:
parent
8e3dbc40d7
commit
6a8c7d18bf
@ -10,6 +10,7 @@ void print_error(const char *error_msg)
|
|||||||
/* We print errors to stdout because lf file manager
|
/* We print errors to stdout because lf file manager
|
||||||
* doesn't print stderr in the preview window. */
|
* doesn't print stderr in the preview window. */
|
||||||
fprintf(stdout, "%s: %s\n", program, error_msg);
|
fprintf(stdout, "%s: %s\n", program, error_msg);
|
||||||
|
fflush(stdout);
|
||||||
}
|
}
|
||||||
|
|
||||||
void print_errorf(const char *format, ...)
|
void print_errorf(const char *format, ...)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user