fix font_size issue that would cause crash

This commit is contained in:
Jinhao
2017-04-27 03:39:50 +08:00
parent 2ff8a1c729
commit 54537f35f5
2 changed files with 3 additions and 3 deletions

View File

@@ -859,7 +859,7 @@ namespace nana{ namespace widgets{ namespace skeletons
//Create a default fblock.
fblock * fbp = new fblock;
fbp->font_size = 0xFFFFFFFF;
fbp->font_size = -1;
fbp->bold = false;
fbp->bold_empty = true;
fbp->text_align = fblock::aligns::baseline;