fix: first update var values then search
This commit is contained in:
parent
c823ad912f
commit
f2b8f18661
|
@ -938,13 +938,13 @@ char* tireSearchWord(int type, char* pre) {
|
||||||
return matchNextPrefix(tire, pre);
|
return matchNextPrefix(tire, pre);
|
||||||
}
|
}
|
||||||
|
|
||||||
// can obtain var names from local
|
if(updateTireValue(type, true)) {
|
||||||
STire* tire = getAutoPtr(type);
|
|
||||||
if (tire == NULL) {
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(updateTireValue(type, true)) {
|
// can obtain var names from local
|
||||||
|
STire* tire = getAutoPtr(type);
|
||||||
|
if (tire == NULL) {
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue