Skip to content

Commit ae774f0

Browse files
Merge branch 'line-changes' of github.com:johannaschwarz/lazygit into line-changes
2 parents 90f67db + e520b82 commit ae774f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/gui/presentation/files.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ func formatLineChanges(linesAdded, linesDeleted int) string {
199199
output := ""
200200

201201
if linesAdded != 0 {
202-
output += style.FgGreen.Sprint("+" + strconv.Itoa(linesAdded))
202+
output += style.FgGreen.Sprintf("+%d", linesAdded)
203203
}
204204

205205
if linesDeleted != 0 {

0 commit comments

Comments
 (0)