diff options
| -rwxr-xr-x | gui/GtkGui.c | 4 | ||||
| -rwxr-xr-x | plugins/peopsxgl/gpu.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/gui/GtkGui.c b/gui/GtkGui.c index d531128e..cdb5de9e 100755 --- a/gui/GtkGui.c +++ b/gui/GtkGui.c @@ -1102,7 +1102,7 @@ void SysErrorMessage(gchar *primary, gchar *secondary) { primary, NULL); gtk_message_dialog_format_secondary_text(GTK_MESSAGE_DIALOG(message_dialog), - secondary); + "s", secondary); gtk_dialog_run(GTK_DIALOG(message_dialog)); gtk_widget_destroy(message_dialog); @@ -1121,7 +1121,7 @@ void SysInfoMessage(gchar *primary, gchar *secondary) { primary, NULL); gtk_message_dialog_format_secondary_text(GTK_MESSAGE_DIALOG(message_dialog), - secondary); + "s", secondary); gtk_dialog_run(GTK_DIALOG(message_dialog)); gtk_widget_destroy(message_dialog); diff --git a/plugins/peopsxgl/gpu.c b/plugins/peopsxgl/gpu.c index e5c72340..1bf52937 100755 --- a/plugins/peopsxgl/gpu.c +++ b/plugins/peopsxgl/gpu.c @@ -856,7 +856,7 @@ void sysdep_create_display(void) // create display if(bModeChanged==0) // -> no mode found? { free(modes); // --> free infos - printf("No proper fullscreen mode found!\n"); // --> some info output + printf("%s", "No proper fullscreen mode found!\n"); // --> some info output } } } @@ -1013,9 +1013,9 @@ void sysdep_create_display(void) // create display glXMakeCurrent(display,window,cx); /* - printf(glGetString(GL_VENDOR)); + printf("%s", glGetString(GL_VENDOR)); printf("\n"); - printf(glGetString(GL_RENDERER)); + printf("%s", glGetString(GL_RENDERER)); printf("\n"); */ |
