Branch: Tag:

2015-08-24

2015-08-24 13:01:18 by Chris Angelico <rosuav@gmail.com>

Force GTK2 strings to be null-terminated

This prevents odd errors when connecting to some GTK signals

214:    {    initfun += sprintf("\n /* %O */\n", str);    initfun += " pgtk2_pstr_vector[" + idx + "] = make_shared_static_string(" + -  S(str,0,2) + "," + sizeof(str) + ",0);\n"; +  S(str,1,2) + "," + sizeof(str) + ",0);\n";    }    exitfun += #"    {