[RAPPS_NEW] Use the actual buffer size instead of hardcoding a random number. CID 1363551

svn path=/trunk/; revision=71933
This commit is contained in:
Mark Jansen 2016-07-13 18:33:42 +00:00
parent 1aec6625e9
commit b53f38a463

View file

@ -18,11 +18,11 @@
} \
#define GET_STRING1(a, b) \
if (!ParserGetString(a, b, MAX_PATH, FindFileData.cFileName)) \
if (!ParserGetString(a, b, _countof(b), FindFileData.cFileName)) \
continue;
#define GET_STRING2(a, b) \
if (!ParserGetString(a, b, MAX_PATH, FindFileData.cFileName)) \
if (!ParserGetString(a, b, _countof(b), FindFileData.cFileName)) \
b[0] = '\0';
LIST_ENTRY CachedEntriesHead = { &CachedEntriesHead, &CachedEntriesHead };