commit
3b67643978
@ -3046,7 +3046,7 @@ bool Variant::iter_next(Variant& r_iter,bool &valid) const {
|
|||||||
const String *str=reinterpret_cast<const String*>(_data._mem);
|
const String *str=reinterpret_cast<const String*>(_data._mem);
|
||||||
int idx = r_iter;
|
int idx = r_iter;
|
||||||
idx++;
|
idx++;
|
||||||
if (idx >= str->size())
|
if (idx >= str->length())
|
||||||
return false;
|
return false;
|
||||||
r_iter = idx;
|
r_iter = idx;
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user