--- a/src/stringtable.cc Fri Jan 17 22:57:40 2014 +0200 +++ b/src/stringtable.cc Sat Jan 18 02:11:45 2014 +0200 @@ -67,9 +67,8 @@ error ("too many strings!\n"); // Now, dump the string into the slot - g_string_table[idx] = a; - - return idx; + g_string_table.push_back (a); + return (g_string_table.size() - 1); } // ============================================================================