Okay, notes on linelessness on OS X.

This commit is contained in:
Pietro Gagliardi 2017-02-24 21:24:52 -05:00
parent 58fff53f61
commit c4400b83f3
1 changed files with 3 additions and 1 deletions

View File

@ -2,7 +2,9 @@
#import "uipriv_darwin.h" #import "uipriv_darwin.h"
#import "draw.h" #import "draw.h"
// TODO what happens if nLines == 0 in any function? // TODO on an empty string nLines == 0
// we must prevent this somehow
// TODO in general, every function could be more robust, but we cannot have a situation where there are zero lines
struct uiDrawTextLayout { struct uiDrawTextLayout {
CFAttributedStringRef attrstr; CFAttributedStringRef attrstr;