[moserial] minor fix, proper string-to-char conversion



commit c7c0eab719de332c9cd85047680759ffa6941991
Author: Michael J. Chudobiak <mjc avtechpulse com>
Date:   Thu May 19 10:49:35 2011 -0400

    minor fix, proper string-to-char conversion

 src/Profile.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Profile.vala b/src/Profile.vala
index 18125dd..adde112 100644
--- a/src/Profile.vala
+++ b/src/Profile.vala
@@ -100,7 +100,7 @@ public class Profile : GLib.Object
 	                string data;
 	                fos = file.replace(null, false, GLib.FileCreateFlags.NONE, null);
 			data = keyFile.to_data(out s);
-			fos.write(data, s, null);
+			fos.write(data.data, s, null);
 		} catch (GLib.Error e) {
 			stdout.printf("profile.save error: %s\n", e.message);	
                         if (!default_profile) {



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