Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(scummfont): Rename the -new file ourselves, don't ask users to do it manually #30

Merged
merged 2 commits into from
Apr 5, 2021

Conversation

dwatteau
Copy link
Owner

@dwatteau dwatteau commented Apr 5, 2021

Even with the "don't forget to rename the -new file" remainder, it's easy to forget to do this, especially since it's the only tool behaving this way.

So, let's just do the renaming ourselves.

(PR #26 was a previous attempt, before ScummFont was switched to ScummIO. I don't think we can use the backup() stuff, since saveFont() wants to read the previous file and write the new file at the same time.)

As was initially done before commit 9d0ad4f.

We're just using it as a C string again, so no need for a C++ string
as a return value.
@dwatteau dwatteau self-assigned this Apr 5, 2021
@dwatteau dwatteau merged commit 534c914 into main Apr 5, 2021
@dwatteau dwatteau deleted the feat/scummfont-output-no-new-suffix branch April 5, 2021 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant