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

Missing fields fix #6

Merged
merged 1 commit into from Mar 17, 2016
Merged

Missing fields fix #6

merged 1 commit into from Mar 17, 2016

Conversation

rds1983
Copy link
Contributor

@rds1983 rds1983 commented Mar 16, 2016

Hello,
Thanks for the great library, which is very useful for my game engine.
However when I tried to load some FNT with it, it threw the FormatException.
It seems that it doesnt check whether a field exist or not (in my case missing field was 'outline'), but tries to process it's value with Int.Parse. I've made a fix for that issue.
Thanks.

@cyotek
Copy link
Owner

cyotek commented Mar 16, 2016

Hello,

Thanks for the bug report and even more for taking the time to create a pull request to fix it. Pull request looks fine, bar minor differences in how I would format the code versus you but nothing worth grouching over. Looks like I'll need to add a CONTRIBUTORS.md file :)

I can merge this in now, but I won't have time to update the nuget package until the weekend, hope that is fine.

Regards;
Richard Moss

@cyotek cyotek added the bug label Mar 16, 2016
cyotek added a commit that referenced this pull request Mar 17, 2016
@cyotek cyotek merged commit 4b712e0 into cyotek:master Mar 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants