diff --git a/README b/README index b7506e4..e50714e 100644 --- a/README +++ b/README @@ -17,7 +17,7 @@ Otherwise, you need JACK with MIDI support, gtk+ 2.6 or higher, make(1), gcc and all the standard headers. Untar the file, type 'make install' and that's it. If Makefile is not present, you can generate it with: -aclocal && autoheader && automake --add-missing && autoconf +aclocal && autoheader && automake --add-missing && autoconf && ./configure How to use it? -------------- diff --git a/README.md b/README.md index 3b8675c..baf8b19 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Otherwise, you need JACK with MIDI support, gtk+ 2.6 or higher, make(1), gcc and all the standard headers. Untar the file, type 'make install' and that's it. If Makefile is not present, you can generate it with: -aclocal && autoheader && automake --add-missing && autoconf +aclocal && autoheader && automake --add-missing && autoconf && ./configure ## How to use it? diff --git a/src/jack-keyboard.c b/src/jack-keyboard.c index 8743cc1..f973222 100644 --- a/src/jack-keyboard.c +++ b/src/jack-keyboard.c @@ -317,7 +317,7 @@ warning_async(gpointer s) { const char *str = (const char *)s; - g_warning(str); + g_warning("%s",str); return (FALSE); } @@ -1810,8 +1810,8 @@ log_handler(const gchar *log_domain, GLogLevelFlags log_level, const gchar *mess fprintf(stderr, "%s: %s\n", log_domain, message); if ((log_level | G_LOG_LEVEL_CRITICAL) == G_LOG_LEVEL_CRITICAL) { - dialog = gtk_message_dialog_new(GTK_WINDOW(window), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, - GTK_BUTTONS_CLOSE, message); + dialog = gtk_message_dialog_new(GTK_WINDOW(window), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, + GTK_BUTTONS_CLOSE, "%s", message); gtk_dialog_run(GTK_DIALOG(dialog));