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