mirror of
https://codeberg.org/scip/rpnc.git
synced 2025-12-16 20:11:02 +01:00
Compare commits
2 Commits
v2.1.3
...
fix/dont-s
| Author | SHA1 | Date | |
|---|---|---|---|
| 28abd79961 | |||
| dd14e7ec35 |
4
calc.go
4
calc.go
@@ -520,7 +520,9 @@ func sortcommands(hash Commands) []string {
|
||||
keys := make([]string, 0, len(hash))
|
||||
|
||||
for key := range hash {
|
||||
keys = append(keys, key)
|
||||
if len(key) > 1 {
|
||||
keys = append(keys, key)
|
||||
}
|
||||
}
|
||||
|
||||
sort.Strings(keys)
|
||||
|
||||
Reference in New Issue
Block a user