Skip to content

Commit

Permalink
use != 0 instead
Browse files Browse the repository at this point in the history
  • Loading branch information
raspi committed Jun 19, 2020
1 parent dc52940 commit 54a68a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/reader/reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ func (r *Reader) Read() (string, error) {
for didx, byteFormatterType := range r.charFormatters {

for i := 0; i < r.width; i++ {
if i > 0 && i%r.visualSplitterSize == 0 {
if i != 0 && i%r.visualSplitterSize == 0 {
// Add pad for better visualization
r.sb.WriteString(` `)
}
Expand Down

0 comments on commit 54a68a2

Please sign in to comment.