Swig_print_node truncates to 80 characters now instead of 40

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10193 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2007-12-16 20:37:25 +00:00
commit 27b7d1de5b

View file

@ -82,10 +82,10 @@ void Swig_print_node(Node *obj) {
print_indent(2);
if (DohIsString(Getattr(obj, k))) {
o = Str(Getattr(obj, k));
if (Len(o) > 40) {
if (Len(o) > 80) {
trunc = "...";
}
Printf(stdout, "%-12s - \"%(escape)-0.40s%s\"\n", k, o, trunc);
Printf(stdout, "%-12s - \"%(escape)-0.80s%s\"\n", k, o, trunc);
Delete(o);
} else {
Printf(stdout, "%-12s - 0x%x\n", k, Getattr(obj, k));