forked from github/server
short commands speedup wasn't working (never got assigned)
This commit is contained in:
parent
4fc5ac7740
commit
254cda86e8
1 changed files with 1 additions and 0 deletions
|
@ -245,6 +245,7 @@ static order_data *create_data(keyword_t kwd, const char *sptr, int lindex)
|
||||||
if (data == NULL) {
|
if (data == NULL) {
|
||||||
mkdata(&data, 0, kwd, lindex, 0);
|
mkdata(&data, 0, kwd, lindex, 0);
|
||||||
data->_refcount = 1;
|
data->_refcount = 1;
|
||||||
|
locale_array[lindex]->short_orders[kwd] = data;
|
||||||
}
|
}
|
||||||
++data->_refcount;
|
++data->_refcount;
|
||||||
return data;
|
return data;
|
||||||
|
|
Loading…
Reference in a new issue