summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/glibext/gbufferline.c2
-rw-r--r--src/gtkext/easygtk.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/glibext/gbufferline.c b/src/glibext/gbufferline.c
index 859b6ac..7768a0e 100644
--- a/src/glibext/gbufferline.c
+++ b/src/glibext/gbufferline.c
@@ -1356,7 +1356,7 @@ void g_buffer_line_export(GBufferLine *line, buffer_export_context *ctx, BufferE
switch (type)
{
case BET_TEXT:
- if (i > 0) dprintf(ctx->fd, ctx->sep);
+ if (i > 0) dprintf(ctx->fd, "%s", ctx->sep);
break;
default:
break;
diff --git a/src/gtkext/easygtk.c b/src/gtkext/easygtk.c
index 27377b9..5348265 100644
--- a/src/gtkext/easygtk.c
+++ b/src/gtkext/easygtk.c
@@ -1139,7 +1139,7 @@ gint qck_show_question(GtkWindow *parent, const char *title, const char *questio
GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_QUESTION,
GTK_BUTTONS_YES_NO,
- question);
+ "%s", question);
gtk_window_set_title(GTK_WINDOW(dialog), title);