Skip to content

Commit

Permalink
fix translation report getting confused by blank lines
Browse files Browse the repository at this point in the history
  • Loading branch information
BenLubar committed Dec 28, 2023
1 parent 66e599d commit 3c87d7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions utils/report.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ func countIndentedLines(r io.Reader) int {
if state == 1 {
state = 2
}
case '\r':
// ignore
case '\n':
state = 0
default:
Expand Down
Binary file modified utils/translation-sync-tool.exe
Binary file not shown.

0 comments on commit 3c87d7d

Please sign in to comment.