Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-03-08 15:24:31 +0000
committerStijn Buys <ingar@osirion.org>2008-03-08 15:24:31 +0000
commitb56c5b7a6fa8330b09bb65f270b5a6a7281367d3 (patch)
tree08daf9c890a11ba5451bc2276b7bda4686951bf0 /src/filesystem
parent343896eeaa97009fb06096dc5bcc097bf1bd287d (diff)
gcc 4.2 fixes
Diffstat (limited to 'src/filesystem')
-rw-r--r--src/filesystem/inifile.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filesystem/inifile.cc b/src/filesystem/inifile.cc
index eccded4..8b6e8ad 100644
--- a/src/filesystem/inifile.cc
+++ b/src/filesystem/inifile.cc
@@ -102,7 +102,7 @@ bool IniFile::getline() {
bool IniFile::got_key_string(char * const keylabel, std::string & valuestring) {
//condebug << "IniFile got_value_string " << keylabel << " " << last_read_was_key << std::endl;
- if (last_read_was_key && key_current == keylabel) {
+ if (last_read_was_key && (key_current.compare(keylabel) == 0 )) {
valuestring.assign(value_current);
return true;
} else {