Skip to content
This repository was archived by the owner on Jul 3, 2025. It is now read-only.

Commit 41d6dfa

Browse files
Fix a comparison between bool and ES_NORMAL
1 parent 392e109 commit 41d6dfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

engine/src/chunk.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2375,7 +2375,7 @@ bool MCChunk::getsetprop(MCExecContext &ctxt, Properties which, MCNameRef index,
23752375
MCObjectChunkPtr t_obj_chunk;
23762376
// SN-2015-05-05: [[ Bug 13314 Reopen ]] We force the chunk delimiter
23772377
// existence when setting a string value.
2378-
if (evalobjectchunk(ctxt, false, !p_is_get_operation, t_obj_chunk) != ES_NORMAL)
2378+
if (!evalobjectchunk(ctxt, false, !p_is_get_operation, t_obj_chunk))
23792379
return false;
23802380

23812381
MCPropertyInfo *t_info;

0 commit comments

Comments
 (0)