mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-31 08:56:34 +00:00
Quotes in comment
This commit is contained in:
@@ -2056,7 +2056,7 @@ void visit(instance_resolver& resolver, std::ostream& output, void* buffer, H5::
|
|||||||
const char BOOLEAN[] = "BOOLEAN-";
|
const char BOOLEAN[] = "BOOLEAN-";
|
||||||
const char LOGICAL[] = "LOGICAL-";
|
const char LOGICAL[] = "LOGICAL-";
|
||||||
if (strstr(enum_value, BOOLEAN) || strstr(enum_value, LOGICAL)) {
|
if (strstr(enum_value, BOOLEAN) || strstr(enum_value, LOGICAL)) {
|
||||||
// Hack to convert BOOLEAN-TRUE et al to T
|
// Hack to convert "BOOLEAN-TRUE" et al to "T"
|
||||||
// Boolean and logical are of the same length coincedentally
|
// Boolean and logical are of the same length coincedentally
|
||||||
enum_value[0] = enum_value[strlen(BOOLEAN)];
|
enum_value[0] = enum_value[strlen(BOOLEAN)];
|
||||||
enum_value[1] = 0;
|
enum_value[1] = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user