summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-07-03 01:18:33 +0300
committerAndrei Karas <akaras@inbox.ru>2017-07-03 01:18:33 +0300
commit3eda32548d54efda62a1ae692b89488fda07df79 (patch)
treee7f9779f652fe458bbd319a448ef9d21af604cc7
parenta74b247d4fdeef36923cc865449ac9990b02d66b (diff)
downloadmanaplus-3eda32548d54efda62a1ae692b89488fda07df79.tar.gz
manaplus-3eda32548d54efda62a1ae692b89488fda07df79.tar.bz2
manaplus-3eda32548d54efda62a1ae692b89488fda07df79.tar.xz
manaplus-3eda32548d54efda62a1ae692b89488fda07df79.zip
Fix possible issue in macroses in beingcommon.h
-rw-r--r--src/resources/beingcommon.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/beingcommon.h b/src/resources/beingcommon.h
index c79e8a76c..5b58bf78d 100644
--- a/src/resources/beingcommon.h
+++ b/src/resources/beingcommon.h
@@ -41,7 +41,9 @@ struct SpriteDisplay;
VirtFs::getFilesInDir(paths.getStringValue( \
name), listVect, ".xml"); \
FOR_EACH (StringVectCIter, itVect, listVect) \
+ { \
function(*itVect, SkipError_true); \
+ } \
}
#define loadXmlDir2(name, function, ext, skipError) \
@@ -49,7 +51,9 @@ struct SpriteDisplay;
StringVect listVect; \
VirtFs::getFilesInDir(name, listVect, ext); \
FOR_EACH (StringVectCIter, itVect, listVect) \
+ { \
function(*itVect, skipError); \
+ } \
}
namespace BeingCommon