Skip to content

FC_GetHeight of empty string= 0#24

Open
MonzUn wants to merge 1 commit intogrimfang4:masterfrom
MonzUn:EmptyStringHeight
Open

FC_GetHeight of empty string= 0#24
MonzUn wants to merge 1 commit intogrimfang4:masterfrom
MonzUn:EmptyStringHeight

Conversation

@MonzUn
Copy link
Contributor

@MonzUn MonzUn commented Mar 16, 2018

Previous to this commit FC_GetHeight returned the line height if it was supplied with an empty string. It will now return 0 in this case.

If you prefer to check against empty string in some other way I can change it. I mostly work with C++ so I'm not sure if this is the go-to way of checking against empty string in C.

I also ran the test and it was unaffected.

@MonzUn MonzUn changed the title Empty string height = 0 FC_GetHeight of empty string= 0 Mar 16, 2018
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