summaryrefslogtreecommitdiff
path: root/multimedia/xine-ui/patches/patch-av
blob: 0aa0ed49aaa54d86c3e45dbf80ca4ea5f6d3569c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-av,v 1.1.2.2 2007/03/05 12:11:42 ghen Exp $

--- src/xitk/actions.c.orig	2005-07-24 04:40:36.000000000 +0200
+++ src/xitk/actions.c	2007-02-17 21:56:02.000000000 +0100
@@ -398,7 +398,7 @@ int gui_xine_play(xine_stream_t *stream,
     
 
     if(v_unhandled && a_unhandled) {
-      xine_error(buffer);
+      xine_error("%s", buffer);
       return 0;
     }
 
@@ -416,7 +416,7 @@ int gui_xine_play(xine_stream_t *stream,
       xw = xitk_window_dialog_yesno_with_width(gGui->imlib_data, _("Start Playback ?"), 
 					       start_anyway_yesno, start_anyway_yesno, 
 					       NULL, 400, ALIGN_CENTER,
-					       buffer);
+					       "%s", buffer);
       XLockDisplay(gGui->display);
       if(!gGui->use_root_window && gGui->video_display == gGui->display)
 	XSetTransientForHint(gGui->display, xitk_window_get_window(xw), gGui->video_window);