summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui_dwrite.cpp2
-rw-r--r--src/gui_w32.c3
-rw-r--r--src/version.c2
3 files changed, 5 insertions, 2 deletions
diff --git a/src/gui_dwrite.cpp b/src/gui_dwrite.cpp
index 17fa6e798..4a24a0306 100644
--- a/src/gui_dwrite.cpp
+++ b/src/gui_dwrite.cpp
@@ -1031,7 +1031,7 @@ DWriteContext::DrawText(const WCHAR *text, int len,
TextRenderer renderer(this);
TextRendererContext context = { color, FLOAT(cellWidth), 0.0f };
- textLayout->Draw(&context, &renderer, FLOAT(x), FLOAT(y) - 0.5f);
+ textLayout->Draw(&context, &renderer, FLOAT(x), FLOAT(y));
}
SafeRelease(&textLayout);
diff --git a/src/gui_w32.c b/src/gui_w32.c
index ead617a79..e8336b56f 100644
--- a/src/gui_w32.c
+++ b/src/gui_w32.c
@@ -6337,7 +6337,8 @@ gui_mch_draw_string(
{
/* Add one to "cells" for italics. */
DWriteContext_DrawText(s_dwc, unicodebuf, wlen,
- TEXT_X(col), TEXT_Y(row), FILL_X(cells + 1), FILL_Y(1),
+ TEXT_X(col), TEXT_Y(row),
+ FILL_X(cells + 1), FILL_Y(1) - p_linespace,
gui.char_width, gui.currFgColor,
foptions, pcliprect, unicodepdy);
}
diff --git a/src/version.c b/src/version.c
index cebd9207c..5cca93064 100644
--- a/src/version.c
+++ b/src/version.c
@@ -780,6 +780,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1029,
+/**/
1028,
/**/
1027,