From d710f1fc7763110cf9e7aba26ce221c835f3dcdb Mon Sep 17 00:00:00 2001 From: leo Date: Sun, 8 Jan 2006 01:33:53 +0000 Subject: Fixed compile error. git-svn-id: http://svn.leocad.org/trunk@453 c7d43263-9d01-0410-8a33-9dba5d9f93d6 --- linux/profile.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'linux/profile.cpp') diff --git a/linux/profile.cpp b/linux/profile.cpp index b539704..1f25f5e 100755 --- a/linux/profile.cpp +++ b/linux/profile.cpp @@ -98,7 +98,7 @@ static bool save_var (const char *section, const char *key, const char *value) // First we need to find the section found = false; - while (old_rc.ReadString (line, 1024) != NULL) + while (old_rc.ReadLine(line, 1024) != NULL) { fputs (line, rc); @@ -122,7 +122,7 @@ static bool save_var (const char *section, const char *key, const char *value) } found = false; - while (old_rc.ReadString (line, 1024) != NULL) + while (old_rc.ReadLine(line, 1024) != NULL) { ptr = strchr (line, '='); @@ -152,7 +152,7 @@ static bool save_var (const char *section, const char *key, const char *value) fputs ("\n", rc); } - while (old_rc.ReadString (line, 1024) != NULL) + while (old_rc.ReadLine(line, 1024) != NULL) fputs (line, rc); fclose (rc); -- cgit v1.2.3