changeset 34579:5097d56b31b1

Fix history file read-only fopen mode.
author ib
date Thu, 09 Feb 2012 13:57:25 +0000
parents 948bec0f8df3
children 065029b847e5
files gui/cfg.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gui/cfg.c	Thu Feb 09 13:43:23 2012 +0000
+++ b/gui/cfg.c	Thu Feb 09 13:57:25 2012 +0000
@@ -318,7 +318,7 @@
     // directory history
 
     fname = get_path(GUI_HISTORY);
-    file  = fopen(fname, "rt+");
+    file  = fopen(fname, "rt");
 
     if (file) {
         int i = 0;