Skip to content

Commit

Permalink
fix: fix bug #13, overwrite the input image file
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerome Le Saux committed Apr 1, 2024
1 parent c02d6e3 commit 01fd71b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion export/impdraw/overscan/overscan.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ func Overscan(filePath string, data []byte, p color.Palette, screenMode uint8, c
return err
}
} else {
if err := amsdos.SaveOSFile(filePath, o); err != nil {
if err := amsdos.SaveOSFile(osFilepath, o); err != nil {
return err
}
}
Expand Down

0 comments on commit 01fd71b

Please sign in to comment.