Commit 45b0f4d8 authored by Claes Sjofors's avatar Claes Sjofors

cygwin fixes

parent 05b7dc9d
...@@ -170,10 +170,10 @@ SObject pwrs:Type ...@@ -170,10 +170,10 @@ SObject pwrs:Type
!/** !/**
! Operating system is Cygwin on x86 ! Operating system is Cygwin on x86
!*/ !*/
Object X86_CYTWIN $Value Object X86_CYGWIN $Value
Body SysBody Body SysBody
Attr PgmName = "X86_CYGWIND" Attr PgmName = "X86_CYGWIND"
Attr Text = "Cygwin on x86_64" Attr Text = "Cygwin on x86"
Attr Value = 4096 Attr Value = 4096
EndBody EndBody
EndObject EndObject
......
...@@ -1335,7 +1335,7 @@ int FlowDrawGtk::text_erase_pango( FlowCtx *ctx, int x, int y, char *text, int l ...@@ -1335,7 +1335,7 @@ int FlowDrawGtk::text_erase_pango( FlowCtx *ctx, int x, int y, char *text, int l
gdk_draw_rectangle( window, gdk_draw_rectangle( window,
gcs[flow_eDrawType_LineErase][idx], 1, gcs[flow_eDrawType_LineErase][idx], 1,
x, y - (int)0.8 / PANGO_SCALE * h, w / PANGO_SCALE, (int)(h / PANGO_SCALE * 1.2)); x, y - (int)(0.8 / PANGO_SCALE * h), w / PANGO_SCALE, (int)(h / PANGO_SCALE * 1.2));
// pango_renderer_draw_layout( pr, layout, PANGO_SCALE * x, PANGO_SCALE * y - h * 0.8); // pango_renderer_draw_layout( pr, layout, PANGO_SCALE * x, PANGO_SCALE * y - h * 0.8);
gdk_pango_renderer_set_drawable( GDK_PANGO_RENDERER(pr), 0); gdk_pango_renderer_set_drawable( GDK_PANGO_RENDERER(pr), 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment