Resolved potential bug

This pull request is in response to #61
This commit is contained in:
JSmith-BitFlipper 2015-09-20 13:56:44 -04:00
parent fb57fca5c2
commit 2cd5c86915

View File

@ -56,7 +56,7 @@ enum { O_DZEN2,
/* Allows for the definition of a variable without opening a new scope, thus /* Allows for the definition of a variable without opening a new scope, thus
* suited for usage in a macro. Idea from wmii. */ * suited for usage in a macro. Idea from wmii. */
#define with(type, var, init) \ #define with(type, var, init) \
for (type var = (type)-1; (var == (type)-1) && ((var = (init)) || 1);) for (type var = (type)-1; (var == (type)-1) && ((var = (init)) || 1); var = (type)1)
#define CASE_SEC(name) \ #define CASE_SEC(name) \
if (BEGINS_WITH(current, name)) \ if (BEGINS_WITH(current, name)) \