Douglas William Thrift il y a 14 ans
Parent
commit
6621b3a3e9
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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");