Fix stupid synatx error that prevented displaing error messages

This commit is contained in:
Joanna Rutkowska 2011-03-31 15:25:33 +02:00
parent d9c9e802d4
commit 8ac5329884

View File

@ -30,7 +30,7 @@ static void produce_message(char * type, const char *fmt, va_list args)
execlp("kdialog", "kdialog", "--sorry", dialog_msg, NULL); execlp("kdialog", "kdialog", "--sorry", dialog_msg, NULL);
#else #else
execlp("zenity", "zenity", "--error --text", dialog_msg, NULL); execlp("zenity", "zenity", "--error", "--text", dialog_msg, NULL);
#endif #endif
exit(1); exit(1);
default:; default:;