diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-07-03 01:18:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-07-03 01:18:33 +0300 |
commit | 3eda32548d54efda62a1ae692b89488fda07df79 (patch) | |
tree | e7f9779f652fe458bbd319a448ef9d21af604cc7 /src/resources/beingcommon.h | |
parent | a74b247d4fdeef36923cc865449ac9990b02d66b (diff) | |
download | plus-3eda32548d54efda62a1ae692b89488fda07df79.tar.gz plus-3eda32548d54efda62a1ae692b89488fda07df79.tar.bz2 plus-3eda32548d54efda62a1ae692b89488fda07df79.tar.xz plus-3eda32548d54efda62a1ae692b89488fda07df79.zip |
Fix possible issue in macroses in beingcommon.h
Diffstat (limited to 'src/resources/beingcommon.h')
-rw-r--r-- | src/resources/beingcommon.h | 4 |
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 |