Lubomir I. Ivanov a8fbceac17 subsurface-startup: expose print_version() in the header
The Windows auto-verbose + log file creation if starting
from a non-terminal has the problem that the print_version()
call is never made becase 'verbose' is updated programatically
in windows.c and not by the user (by passing -v).

To work around the issue:
- move the windows console creation call before *everything* else
- then immediatelly install the message handler
- then see if 'verbose' is set and explicitly call print_version()

print_version() now also has a flag (version_printed), to avoid
printing the version multiple times, if the user decided to add
an extra -v to the Desktop shortcut.

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
2017-11-16 14:26:14 +01:00
..
2017-10-01 23:58:55 +03:00
2017-04-29 13:32:55 -07:00
2017-10-18 23:19:13 +02:00
2017-10-26 14:37:39 +02:00
2017-04-29 13:32:55 -07:00
2017-05-26 15:52:04 -07:00
2017-08-26 12:15:43 -07:00
2017-10-08 19:41:54 +03:00
2017-04-29 13:32:55 -07:00
2017-11-10 10:31:19 +01:00
2017-05-26 15:44:36 -07:00
2017-11-13 20:48:17 -08:00
2017-07-19 06:21:23 -07:00
2017-08-29 06:49:44 -07:00
2017-10-20 17:25:18 -04:00
2017-04-29 13:32:55 -07:00
2017-10-29 20:00:53 +01:00
2017-04-29 13:32:55 -07:00
2017-04-29 13:32:55 -07:00
2017-10-04 08:05:09 -07:00
2017-04-29 13:32:55 -07:00
2017-07-17 16:50:03 -07:00
2017-04-29 13:32:55 -07:00