Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fix bug pressing warning icon to add palette color when active locale…
… is non-English It looks like Allegro library was changing the locale to the active one, and it can break things like strtod() (which is used to convert colors from string format in AddColor command). In this case, if we added a HSV color with double floating-point precision, it was added incorrectly because strtod() wasn't taking the decimal part.
- Loading branch information
Showing
2 changed files
with
11 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters