Browse Source

core: str - fixed wrong (undo'ed) version of STR_ZTOV() macro

Daniel-Constantin Mierla 5 years ago
parent
commit
65ab73a7ef
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/core/str.h

+ 1 - 1
src/core/str.h

@@ -137,7 +137,7 @@ typedef struct _str str;
 		if (v != '\0') { \
 			c = v; \
 		} \
-	}
+	} while(0)
 
 /** @} */