[mednaffe] 32/99: Set comments in .cfg file

Stephen Kitt skitt at moszumanska.debian.org
Tue Aug 2 21:00:03 UTC 2016


This is an automated email from the git hooks/post-receive script.

skitt pushed a commit to branch master
in repository mednaffe.

commit 856bd2eefcee814ac1e30fd1182b3f647b40892c
Author: amatcoder at gmail.com <amatcoder at gmail.com@44025b82-9115-564b-7d03-7f3fc60b4744>
Date:   Mon Dec 9 11:24:21 2013 +0000

    Set comments in .cfg file
---
 src/prefs.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/prefs.c b/src/prefs.c
index ea1b1be..6c5a1de 100644
--- a/src/prefs.c
+++ b/src/prefs.c
@@ -111,6 +111,9 @@ void save_prefs(guidata *gui)
   key_file=g_key_file_new();
   /*g_key_file_set_list_separator(key_file,  0x0D);*/
 
+  g_key_file_set_comment(key_file, NULL, NULL, " Version 0.6\n \
+Do not edit this file!", NULL);
+  
   save_combo(key_file, gui);
                      
   option = GTK_WIDGET(gtk_builder_get_object(gui->settings,"showtooltips"));         

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/mednaffe.git



More information about the Pkg-games-commits mailing list