summaryrefslogtreecommitdiff
path: root/src/cgaladv.cc
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2013-03-11 15:59:52 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2013-03-11 15:59:52 (GMT)
commit4e2965ac17e4e8c64df327b3988bb0a4006f4357 (patch)
treed12bb37d0833963bbf6e13989a7cb224383fb768 /src/cgaladv.cc
parent5559ae9a6af459021c5b7ab4a823f491dce822a0 (diff)
fix crashbug 2d resize. add 2d tests. print offscreen warning better.
Diffstat (limited to 'src/cgaladv.cc')
-rw-r--r--src/cgaladv.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/cgaladv.cc b/src/cgaladv.cc
index 276b59c..199ace2 100644
--- a/src/cgaladv.cc
+++ b/src/cgaladv.cc
@@ -155,7 +155,11 @@ std::string CgaladvNode::toString() const
stream << "()";
break;
case RESIZE:
- stream << "(newsize = " << this->newsize << ")";
+ stream << "(newsize = ["
+ << this->newsize[0] << ","
+ << this->newsize[1] << ","
+ << this->newsize[2] << "]"
+ << ", auto = " << this->autosize << ")";
break;
default:
assert(false);
contact: Jan Huwald // Impressum