Skip to content

Commit

Permalink
Use system-independent line separator.
Browse files Browse the repository at this point in the history
  • Loading branch information
tsaglam committed Oct 3, 2024
1 parent d831992 commit 7ed2db7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/carcassonne/view/ViewFacade.java
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public Tile getSelectedTile() {
EventQueue.invokeAndWait(() -> selectedTile = tileView.getSelectedTile());
} catch (InvocationTargetException | InterruptedException exception) {
exception.printStackTrace();
GameMessage.showError("Cannot retrieve selected tile:\n" + exception);
GameMessage.showError("Cannot retrieve selected tile:" + System.lineSeparator() + exception);
}
return selectedTile;
}
Expand Down

0 comments on commit 7ed2db7

Please sign in to comment.