Skip to content

Commit

Permalink
Fix staticcheck warning
Browse files Browse the repository at this point in the history
  • Loading branch information
pwiecz committed May 4, 2024
1 parent 9e661cf commit 6bdd108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/7GUIs/cells/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ func reverse(s []byte) {
func (col CellCol) String() string {
// 'A', ... 'Z', 'AA', 'AB', ... 'AZ', 'BA', ... 'BZ', ... 'ZZ', 'AAA', ...
var stringBytes []byte
for true {
for {
stringBytes = append(stringBytes, 'A'+byte(col%26))
col /= 26
if col <= 0 {
Expand Down

0 comments on commit 6bdd108

Please sign in to comment.