short commands speedup wasn't working (never got assigned)

This commit is contained in:
Enno Rehling 2015-10-14 13:20:27 +02:00
parent 4fc5ac7740
commit 254cda86e8
1 changed files with 1 additions and 0 deletions

View File

@ -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;