浏览代码

remove trailing newlines from debug text

Eren Yilmaz 6 年之前
父节点
当前提交
79510ef189
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/view/MainView.java

+ 1 - 1
src/view/MainView.java

@@ -790,7 +790,7 @@ public class MainView {
                 combined.setSize( layne.getWidth() / 3, layne.getHeight() / 3 );
                 combined.setLocation( layne.getWidth() / 3, layne.getHeight() / 3 );
 
-                debugText.setText( algorithm.getDebugString() );
+                debugText.setText( algorithm.getDebugString().trim() );
                 layne.remove( pl );
                 layne.add( pl, 1 );
                 frame.repaint();