openidec

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 1313ba210696166d17265722524deee94767bc05
parent 55a9f7403c3359bd89b5699b944a0885e38343fc
Author: Peter Kosyh <p.kosyh@gmail.com>
Date:   Sun,  6 Sep 2020 13:48:37 +0300

compat go

Diffstat:
Mii-node/xpm.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ii-node/xpm.go b/ii-node/xpm.go @@ -39,7 +39,7 @@ func ParseXpm(lines []string) (*image.RGBA, int) { l = strings.TrimRight(l, ",") l = strings.Trim(l, "\"") } - l = strings.ReplaceAll(l, "\t", " ") + l = strings.Replace(l, "\t", " ", -1) if cols == 0 { /* desc line */ dsc := strings.Split(l, " ") if len(dsc) != 4 {