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

Already on GitHub? Sign in to your account

Modify assert to allow "drawing" empty string #47

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
Contributor

mrspeaker commented Oct 28, 2012

If you pass an empty string to fillText it would crash on the assert. Allowing a 0 runCount works correctly (though it might be better to just return from the function immediately if the string is empty).

@phoboslab phoboslab closed this in 9610f02 Oct 29, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment