zenity 3.30.0 doesn't like no-wrap; show log messages

This commit is contained in:
Christopher A. Mosher 2019-01-02 20:19:23 -05:00
parent 8ff8852e8b
commit d5ed80aa70
1 changed files with 3 additions and 3 deletions

View File

@ -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, "\"") ;
}