]> git.saurik.com Git - wxWidgets.git/commitdiff
Optimization correction
authorJulian Smart <julian@anthemion.co.uk>
Thu, 24 Jan 2008 17:28:59 +0000 (17:28 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 24 Jan 2008 17:28:59 +0000 (17:28 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/richtext/richtextbuffer.cpp

index 4555750c05185cbcd2d6bcb288004f458914f4b4..ac3e1c43998eec2f71632a64df1dceb2d548136d 100644 (file)
@@ -61,6 +61,7 @@ inline void wxCheckSetFont(wxDC& dc, const wxFont& font)
             font1.GetFamily() == font.GetFamily() &&
             font1.GetStyle() == font.GetStyle() &&
             font1.GetWeight() == font.GetWeight() &&
+            font1.GetUnderlined() == font.GetUnderlined() &&
             font1.GetFaceName() == font.GetFaceName())
             return;
     }