From 6161ca2083f0b4f2a7684d6d49d917df84b95b7c Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Wed, 15 Nov 2017 22:04:03 +0200 Subject: 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 --- core/windows.c | 1 + 1 file changed, 1 insertion(+) (limited to 'core/windows.c') diff --git a/core/windows.c b/core/windows.c index ebee3436c..029c3516e 100644 --- a/core/windows.c +++ b/core/windows.c @@ -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); } -- cgit v1.2.3-70-g09d2