summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorleo2006-01-08 01:33:53 +0000
committerleo2006-01-08 01:33:53 +0000
commitd710f1fc7763110cf9e7aba26ce221c835f3dcdb (patch)
tree80fc135d18de767f7ba269f1b5aa4d55ec4d1027 /linux
parent80e4ad21bbf133c4b763274c10e9d228c6a457a0 (diff)
Fixed compile error.
git-svn-id: http://svn.leocad.org/trunk@453 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'linux')
-rwxr-xr-xlinux/profile.cpp6
1 files changed, 3 insertions, 3 deletions
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);