Explorar el Código

remove trailing newlines from debug text

Eren Yilmaz hace 7 años
padre
commit
79510ef189
Se han modificado 1 ficheros con 1 adiciones y 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();