From 43d85b300a8cc0754c60255d6425e2d9fb77f5a1 Mon Sep 17 00:00:00 2001 From: Jinhao Date: Wed, 12 Dec 2018 00:23:06 +0800 Subject: [PATCH] fix a label's bug in wrap mode --- source/gui/widgets/label.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/gui/widgets/label.cpp b/source/gui/widgets/label.cpp index 74bedf81..f74ec52f 100644 --- a/source/gui/widgets/label.cpp +++ b/source/gui/widgets/label.cpp @@ -338,11 +338,11 @@ namespace nana #else rs.vslines.emplace_back(); auto & vsline = rs.vslines.back(); - +#endif vsline.baseline = 0; vsline.extent_height_px = def_line_px; vsline.x_base = 0; -#endif + return 0; }