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");