From d5ed80aa700eb03cb1fd8bc4e2c86a3511bd85dc Mon Sep 17 00:00:00 2001 From: "Christopher A. Mosher" Date: Wed, 2 Jan 2019 20:19:23 -0500 Subject: [PATCH] zenity 3.30.0 doesn't like no-wrap; show log messages --- src/tinyfiledialogs.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tinyfiledialogs.cpp b/src/tinyfiledialogs.cpp index bee3780..5a19ca6 100644 --- a/src/tinyfiledialogs.cpp +++ b/src/tinyfiledialogs.cpp @@ -135,8 +135,8 @@ misrepresented as being the original software. char const tinyfd_version [8] = "3.3.8"; -int tinyfd_verbose = 0 ; /* on unix: prints the command line calls */ -int tinyfd_silent = 1 ; /* 1 (default) or 0 : on unix, +int tinyfd_verbose = 1 ; /* on unix: prints the command line calls */ +int tinyfd_silent = 0 ; /* 1 (default) or 0 : on unix, hide errors and warnings from called dialog*/ #if defined(TINYFD_NOLIB) && defined(_WIN32) @@ -4317,7 +4317,7 @@ int tinyfd_messageBox( } if ( aMessage && strlen(aMessage) ) { - strcat(lDialogString, " --no-wrap --text=\"") ; + strcat(lDialogString, " --text=\"") ; strcat(lDialogString, aMessage) ; strcat(lDialogString, "\"") ; }