Skip to content

Commit

Permalink
remove extra spaces for better display
Browse files Browse the repository at this point in the history
  • Loading branch information
andrescv committed Feb 4, 2019
1 parent 6724159 commit 158605c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion V-Sim/src/vsim/linker/InfoStatement.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public InfoStatement(int address, Statement stmt) {
this.breakpoint = new SimpleBooleanProperty(this.ebreak);
this.address = new SimpleStringProperty(String.format("0x%08x", address));
this.machineCode = new SimpleStringProperty(String.format("0x%08x", result.get(InstructionField.ALL)));
this.sourceCode = new SimpleStringProperty(stmt.getDebugInfo().getSource());
this.sourceCode = new SimpleStringProperty(stmt.getDebugInfo().getSource().replaceAll("( |\t)+", " "));
this.basicCode = new SimpleStringProperty(Globals.iset.get(stmt.getMnemonic()).disassemble(result));
}

Expand Down

0 comments on commit 158605c

Please sign in to comment.