summaryrefslogtreecommitdiffstats
path: root/src/common/profile.cpp
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2012-07-04 19:56:22 +0200
committerPiotr Dziwinski <piotrdz@gmail.com>2012-07-04 19:56:22 +0200
commitaf3057df7eb41973349b407539846f17d9094c21 (patch)
tree0940a188a0cfc43a99505f55513516866a57d145 /src/common/profile.cpp
parentf95df35dc58e01b99ffddfc4ad394feaa4460b09 (diff)
downloadcolobot-af3057df7eb41973349b407539846f17d9094c21.tar.gz
colobot-af3057df7eb41973349b407539846f17d9094c21.tar.bz2
colobot-af3057df7eb41973349b407539846f17d9094c21.zip
Merged changes from dev
Resolved conflicts & added fixes.
Diffstat (limited to 'src/common/profile.cpp')
-rw-r--r--src/common/profile.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/common/profile.cpp b/src/common/profile.cpp
index 07dafae..d921d34 100644
--- a/src/common/profile.cpp
+++ b/src/common/profile.cpp
@@ -42,13 +42,13 @@ bool InitCurrentDirectory()
}
-bool SetProfileString(char* section, char* key, char* string)
+bool SetLocalProfileString(char* section, char* key, char* string)
{
WritePrivateProfileString(section, key, string, g_filename);
return true;
}
-bool GetProfileString(char* section, char* key, char* buffer, int max)
+bool GetLocalProfileString(char* section, char* key, char* buffer, int max)
{
int nb;
@@ -62,7 +62,7 @@ bool GetProfileString(char* section, char* key, char* buffer, int max)
}
-bool SetProfileInt(char* section, char* key, int value)
+bool SetLocalProfileInt(char* section, char* key, int value)
{
char s[20];
@@ -71,7 +71,7 @@ bool SetProfileInt(char* section, char* key, int value)
return true;
}
-bool GetProfileInt(char* section, char* key, int &value)
+bool GetLocalProfileInt(char* section, char* key, int &value)
{
char s[20];
int nb;
@@ -87,7 +87,7 @@ bool GetProfileInt(char* section, char* key, int &value)
}
-bool SetProfileFloat(char* section, char* key, float value)
+bool SetLocalProfileFloat(char* section, char* key, float value)
{
char s[20];
@@ -96,7 +96,7 @@ bool SetProfileFloat(char* section, char* key, float value)
return true;
}
-bool GetProfileFloat(char* section, char* key, float &value)
+bool GetLocalProfileFloat(char* section, char* key, float &value)
{
char s[20];
int nb;