r334 | rooneg | 2004-08-21 20:40:15 -0400 (Sat, 21 Aug 2004) | 7 lines
Sometimes I'm really just too stupid to be allowed near a C compiler.
(lcn_terminfos_idx_read): allocate the correct amount of memory for the
index object. this fixes the odd behavior i was seeing where additional
allocation would stomp all over the fields in this object.