Return a character from string if it is not ar array.
All checks were successful
The build was successful.

This commit is contained in:
2019-04-04 11:51:25 +02:00
parent 01c210984e
commit 7ec7ade171

View File

@@ -2529,7 +2529,7 @@ static sxi32 VmByteCodeExec(
pIdx = pTos;
pTos--;
}
if(pTos->iFlags & MEMOBJ_STRING) {
if(pTos->iFlags & MEMOBJ_STRING && (pTos->iFlags & MEMOBJ_HASHMAP) == 0) {
/* String access */
if(pIdx) {
sxu32 nOfft;