[MPlayer-cvslog] r37342 - trunk/gui/win32/dialogs.c

al subversion at mplayerhq.hu
Fri Dec 19 12:07:44 CET 2014


Author: al
Date: Fri Dec 19 12:07:43 2014
New Revision: 37342

Log:
gui/win32: Fix wrong usage of format string

Patch-by: Stephen Sheldon >sfsheldo gmail<

Modified:
   trunk/gui/win32/dialogs.c

Modified: trunk/gui/win32/dialogs.c
==============================================================================
--- trunk/gui/win32/dialogs.c	Wed Dec 17 22:02:44 2014	(r37341)
+++ trunk/gui/win32/dialogs.c	Fri Dec 19 12:07:43 2014	(r37342)
@@ -329,7 +329,7 @@ static LRESULT CALLBACK OpenUrlWndProc(H
                     uiSetFile(NULL, file, STREAMTYPE_STREAM);
                     if((f = fopen(history, "wt+")))
                     {
-                        fprintf(f, file);
+                        fprintf(f, "%s", file);
                         fclose(f);
                     }
                     if(!parse_filename(file, playtree, mconfig, addurl? FALSE : TRUE))


More information about the MPlayer-cvslog mailing list