Fix for text3d issue, \n was attempting to find a character too

This commit is contained in:
Campbell Barton 2013-12-28 19:34:50 +11:00
parent 1a91b8bd5d
commit 1aa62605cd

@ -594,7 +594,7 @@ makebreak:
if (vfont == NULL) break;
if (i != slen) {
if (!ELEM(ascii, '\n', '\0')) {
che = find_vfont_char(vfd, ascii);
/*
@ -606,6 +606,9 @@ makebreak:
che = BLI_vfontchar_from_freetypefont(vfont, ascii);
}
}
else {
che = NULL;
}
/* No VFont found */
if (vfont == NULL) {