summaryrefslogtreecommitdiff
path: root/ldmicro
diff options
context:
space:
mode:
authorRr422018-06-20 12:20:38 +0530
committerRr422018-06-20 12:20:38 +0530
commit5efa69ff8b273ac1b706acff283a3c16bbec9a34 (patch)
treeca22e80bec7d8a91bc448319ce04d836f49814ab /ldmicro
parent307008b718c4bf9c3e91f7b0fc36823985c91d37 (diff)
downloadLDMicroGtk-5efa69ff8b273ac1b706acff283a3c16bbec9a34.tar.gz
LDMicroGtk-5efa69ff8b273ac1b706acff283a3c16bbec9a34.tar.bz2
LDMicroGtk-5efa69ff8b273ac1b706acff283a3c16bbec9a34.zip
Minor update, fixes bug in displaying text in paint window
Diffstat (limited to 'ldmicro')
-rw-r--r--ldmicro/lib/linuxUI/linuxUI.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}