Douglas William Thrift 14 роки тому
батько
коміт
6621b3a3e9
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      dtpstree.cpp

+ 1 - 1
dtpstree.cpp

@@ -161,7 +161,7 @@ public:
 			if (_index != last)
 				std::printf("%s%s ", indentation->c_str(), vertical_.c_str());
 			else
-				std::printf("%s%s%s", indentation->c_str(), verticalAndRight_.c_str(), horizontal_.c_str());
+				std::printf("%s%s%s", indentation->c_str(), last_ ? upAndRight_.c_str() : verticalAndRight_.c_str(), horizontal_.c_str());
 
 		if (vt100_)
 			std::printf("\033(B\017");