mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
windows.c: enable verbose level 1 for desktop usage
If the user has not started Subsurface from a terminal make sure that verbosity is enabled (verbose = 1), so that the log files are populated with information useful for debugging. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
parent
6632c263d9
commit
6161ca2083
1 changed files with 1 additions and 0 deletions
|
@ -410,6 +410,7 @@ void subsurface_console_init(void)
|
|||
console_desc.out = freopen("CON", "w", stdout);
|
||||
console_desc.err = freopen("CON", "w", stderr);
|
||||
} else {
|
||||
verbose = 1; /* set the verbose level to '1' */
|
||||
console_desc.out = freopen("subsurface_out.log", "w", stdout);
|
||||
console_desc.err = freopen("subsurface_err.log", "w", stderr);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue