[MPlayer-cvslog] r34667 - trunk/gui/cfg.c

ib subversion at mplayerhq.hu
Thu Feb 9 14:57:25 CET 2012


Author: ib
Date: Thu Feb  9 14:57:25 2012
New Revision: 34667

Log:
Fix history file read-only fopen mode.

Modified:
   trunk/gui/cfg.c

Modified: trunk/gui/cfg.c
==============================================================================
--- trunk/gui/cfg.c	Thu Feb  9 14:43:23 2012	(r34666)
+++ trunk/gui/cfg.c	Thu Feb  9 14:57:25 2012	(r34667)
@@ -318,7 +318,7 @@ void cfg_read(void)
     // directory history
 
     fname = get_path(GUI_HISTORY);
-    file  = fopen(fname, "rt+");
+    file  = fopen(fname, "rt");
 
     if (file) {
         int i = 0;


More information about the MPlayer-cvslog mailing list