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

This commit is contained in:
Rafal Kupiec 2019-04-04 11:51:25 +02:00
parent 01c210984e
commit 7ec7ade171
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
1 changed files with 1 additions and 1 deletions

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;