unsplash: Replace whitespace with whitespace

This commit is contained in:
Hamcha 2017-04-21 10:21:25 +02:00
parent 0919398edc
commit eb16747435

View file

@ -42,6 +42,9 @@ func initunsplash() {
}
func stripUnreadable(r rune) rune {
if r == '\n' || r == '\t' {
return ' '
}
if r < 32 || r >= 0x1f000 {
return -1
}