From 9de6c25e7e03900c2be634f18331f3bfd0eadaaf Mon Sep 17 00:00:00 2001 From: nhmall Date: Sat, 15 Dec 2018 22:36:24 -0500 Subject: [PATCH] clean exit on window port init failure --- src/windows.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/windows.c b/src/windows.c index 7326dd7a2..ad7b91b0d 100644 --- a/src/windows.c +++ b/src/windows.c @@ -294,7 +294,8 @@ const char *s; s, buf); } - if (windowprocs.win_raw_print == def_raw_print) + if (windowprocs.win_raw_print == def_raw_print + || WINDOWPORT("safe-startup")) nh_terminate(EXIT_SUCCESS); }