From 5efa69ff8b273ac1b706acff283a3c16bbec9a34 Mon Sep 17 00:00:00 2001 From: Rr42 Date: Wed, 20 Jun 2018 12:20:38 +0530 Subject: Minor update, fixes bug in displaying text in paint window --- ldmicro/lib/linuxUI/linuxUI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ldmicro') diff --git a/ldmicro/lib/linuxUI/linuxUI.cpp b/ldmicro/lib/linuxUI/linuxUI.cpp index d9fbd3f..bb6600b 100644 --- a/ldmicro/lib/linuxUI/linuxUI.cpp +++ b/ldmicro/lib/linuxUI/linuxUI.cpp @@ -303,7 +303,7 @@ void TextOut(HWID hWid, HCRDC hcr, int nXStart, int nYStart, LPCTSTR lpString, i if(nYStart+(extents.height/2.0) >= height) { // g_print("Y extend\n"); - height += extents.height += 50; + height += extents.height + 50; resize_flag = TRUE; } -- cgit