Skip to content

Commit

Permalink
Normalize file path
Browse files Browse the repository at this point in the history
  • Loading branch information
Dargones committed Jul 29, 2024
1 parent caccdd5 commit 0c05ff0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/acrostics/Text.java
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,8 @@ public static class DocumentBreak {
int line;

public DocumentBreak(String name, int line) {
this.name = name;
this.name = name.replace('\\', '/'); // Normalize the file path
this.line = line;
}

}
}

0 comments on commit 0c05ff0

Please sign in to comment.