aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorMax Horn2005-04-24 22:41:21 +0000
committerMax Horn2005-04-24 22:41:21 +0000
commit14f56887ea94ebf077c80398bde7814c6211d9f3 (patch)
tree78a7fa8fe43f033a1ef528db948da133bc162149 /common
parentda5f819cf9add621a2b55505bb4d4c0c44b111ca (diff)
downloadscummvm-rg350-14f56887ea94ebf077c80398bde7814c6211d9f3.tar.gz
scummvm-rg350-14f56887ea94ebf077c80398bde7814c6211d9f3.tar.bz2
scummvm-rg350-14f56887ea94ebf077c80398bde7814c6211d9f3.zip
Some C++ compilers don't support the 'not' keyword, it seems
svn-id: r17793
Diffstat (limited to 'common')
-rw-r--r--common/config-file.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/config-file.cpp b/common/config-file.cpp
index daaf068955..bec91a789e 100644
--- a/common/config-file.cpp
+++ b/common/config-file.cpp
@@ -173,7 +173,7 @@ bool ConfigFile::saveToFile(const String &filename) {
bool ConfigFile::saveToStream(WriteStream &stream) {
for (List<Section>::iterator i = _sections.begin(); i != _sections.end(); ++i) {
// Write out the section comment, if any
- if (not i->comment.isEmpty()) {
+ if (! i->comment.isEmpty()) {
stream.writeString(i->comment);
}
@@ -186,7 +186,7 @@ bool ConfigFile::saveToStream(WriteStream &stream) {
// Write out the key/value pairs
for (List<KeyValue>::iterator kv = i->keys.begin(); kv != i->keys.end(); ++kv) {
// Write out the comment, if any
- if (not kv->comment.isEmpty()) {
+ if (! kv->comment.isEmpty()) {
stream.writeString(kv->comment);
}
// Write out the key/value pair