Explorar o código

remove trailing newlines from debug text

Eren Yilmaz %!s(int64=7) %!d(string=hai) anos
pai
achega
79510ef189
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();