Commit 6d15b6b1 authored by Beskhue's avatar Beskhue Committed by Mart Lubbers

No longer place newlines after printing an integer.

parent e8d9c511
...@@ -479,7 +479,7 @@ public class Machine ...@@ -479,7 +479,7 @@ public class Machine
switch( state.inlineOpnds[ 0 ] ) switch( state.inlineOpnds[ 0 ] )
{ {
case Instruction.TR_PR_INT : case Instruction.TR_PR_INT :
messenger.println( "" + pop() ) ; messenger.print( "" + pop() ) ;
break ; break ;
case Instruction.TR_PR_CHAR : case Instruction.TR_PR_CHAR :
try try
......
...@@ -652,8 +652,7 @@ public class SSMRunner extends JFrame ...@@ -652,8 +652,7 @@ public class SSMRunner extends JFrame
public void println( String s ) public void println( String s )
{ {
outputTextArea.append( s ) ; outputTextArea.append(s + System.lineSeparator()) ;
outputTextArea.append( "\n" ) ;
} }
public void print( String s ) public void print( String s )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment