patch 7.4.1428
Problem: Compiler warning for non-virtual destructor.
Solution: Make it virtual. (Yasuhiro Matsumoto)
diff --git a/src/gui_dwrite.cpp b/src/gui_dwrite.cpp
index 08b81c4..07685eb 100644
--- a/src/gui_dwrite.cpp
+++ b/src/gui_dwrite.cpp
@@ -237,7 +237,8 @@
AddRef();
}
- ~GdiTextRenderer()
+ // add "virtual" to avoid a compiler warning
+ virtual ~GdiTextRenderer()
{
SafeRelease(&pRenderTarget_);
SafeRelease(&pRenderingParams_);
@@ -255,7 +256,7 @@
__maybenull void* clientDrawingContext,
__out DWRITE_MATRIX* transform)
{
- //forward the render target's transform
+ // forward the render target's transform
pRenderTarget_->GetCurrentTransform(transform);
return S_OK;
}
diff --git a/src/version.c b/src/version.c
index 359d8df..68ccf92 100644
--- a/src/version.c
+++ b/src/version.c
@@ -749,6 +749,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1428,
+/**/
1427,
/**/
1426,