From 29ab6be21bf37ba8ba12231606883b0c60e37f64 Mon Sep 17 00:00:00 2001 From: Jinhao Date: Sun, 23 Aug 2015 17:51:52 +0800 Subject: [PATCH] add contribution information --- source/paint/detail/native_paint_interface.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/paint/detail/native_paint_interface.cpp b/source/paint/detail/native_paint_interface.cpp index 476fc5c4..0222269f 100644 --- a/source/paint/detail/native_paint_interface.cpp +++ b/source/paint/detail/native_paint_interface.cpp @@ -8,6 +8,7 @@ * http://www.boost.org/LICENSE_1_0.txt) * * @file: nana/paint/detail/native_paint_interface.cpp + * @contributors: dareg */ #include @@ -187,6 +188,8 @@ namespace detail reinterpret_cast(const_cast(utf8str.c_str())), utf8str.size()); */ auto fs = reinterpret_cast(dw->font->handle); + + //Fixed missing array declaration by dareg std::unique_ptr glyphs_ptr(new FT_UInt[len]); auto glyphs = glyphs_ptr.get(); const auto endstr = str + len;