Przeglądaj źródła

remove trailing newlines from debug text

Eren Yilmaz 6 lat temu
rodzic
commit
79510ef189
1 zmienionych plików z 1 dodań i 1 usunięć
  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();