Francois Gouget : winetest: Always report errors and fatal errors, even in quiet mode.

Alexandre Julliard julliard at winehq.org
Wed Dec 28 13:44:34 CST 2011


Module: wine
Branch: master
Commit: 043c7fc0760736ea1bafcea8e64b7d2da9550c89
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=043c7fc0760736ea1bafcea8e64b7d2da9550c89

Author: Francois Gouget <fgouget at free.fr>
Date:   Wed Dec 28 10:42:11 2011 +0100

winetest: Always report errors and fatal errors, even in quiet mode.

---

 programs/winetest/gui.c |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

diff --git a/programs/winetest/gui.c b/programs/winetest/gui.c
index a9f3465..d5e3e27 100644
--- a/programs/winetest/gui.c
+++ b/programs/winetest/gui.c
@@ -402,12 +402,6 @@ qNoOp (va_list ap)
 }
 
 static int
-qFatal (va_list ap)
-{
-    exit (1);
-}
-
-static int
 qAsk (va_list ap)
 {
     return MBdefault (va_arg (ap, int));
@@ -507,7 +501,7 @@ report (enum report_type t, ...)
     static r_fun_t * const quiet_funcs[] =
         {qNoOp, qNoOp, qNoOp, qNoOp,
          qNoOp, qNoOp, qNoOp,
-         qNoOp, qNoOp, qFatal, qAsk};
+         qNoOp, textError, textFatal, qAsk};
     static r_fun_t * const * funcs = NULL;
 
     switch (t) {




More information about the wine-cvs mailing list