From 3eda32548d54efda62a1ae692b89488fda07df79 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 3 Jul 2017 01:18:33 +0300 Subject: Fix possible issue in macroses in beingcommon.h --- src/resources/beingcommon.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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 -- cgit v1.2.3-70-g09d2