mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-18 14:16:43 -06:00
CtrlCore: fixed issue with GTK/DrawLine #1344
git-svn-id: svn://ultimatepp.org/upp/trunk@9239 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
0fec8defc2
commit
b6f149fa57
1 changed files with 2 additions and 0 deletions
|
|
@ -180,6 +180,8 @@ void SystemDraw::DrawLineOp(int x1, int y1, int x2, int y2, int width, Color col
|
|||
{
|
||||
if(IsNull(width) || IsNull(color))
|
||||
return;
|
||||
if(width == 0)
|
||||
width = 1;
|
||||
FlushText();
|
||||
SetColor(color);
|
||||
if(width == PEN_SOLID)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue