[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

guitarix: Important fix for #592227 in squeeze



Hi,

please find attached a patch that fixes #592227. Upstream notified me
about a new upstream version which fixes #592227 but adds some other
changes. Therefore, I just backported the fix for the issue at hand.

If it's OK, I will upload the attached change to unstable (with no other
changes) as guitarix 0.10.0-2.

Thanks in advance,

Roland
--- trunk/src/gx_system.cpp	(revision 820)
+++ trunk/src/gx_system.cpp	(revision 821)
@@ -1257,6 +1257,15 @@
 		cim = string("echo 'guitarix-") + string(GX_VERSION) + "' >";
 		(void)gx_system_call(cim.c_str(), tmpstr.c_str(), false);
 
+        // create empty preset file
+        tmpstr = gx_user_dir + string("guitarixpre_rc");
+        ofstream nfile(tmpstr.c_str());
+        JsonWriter jw(nfile);
+        jw.begin_array();
+        writeHeader(jw);
+        jw.end_array(true);
+        jw.close();
+        nfile.close();
 
 	}
 

Reply to: