DrawLineOpGtkFix.diff

Zbigniew Rebacz, 02/24/2015 12:26 PM

Download (733 Bytes)

View differences:

CtrlCore/GtkDrawOp.cpp (kopia robocza)
174 174

  
175 175
void SystemDraw::DrawLineOp(int x1, int y1, int x2, int y2, int width, Color color)
176 176
{
177
	if(IsNull(width) || IsNull(color))
178
		return;
177 179
	FlushText();
178 180
	SetColor(color);
179 181
	if(width == PEN_SOLID)
......
206 208
void SystemDraw::DrawPolyPolylineOp(const Point *vertices, int vertex_count, const int *counts,
207 209
                                    int count_count, int width, Color color, Color doxor)
208 210
{
211
	if(IsNull(color))
212
		return;
209 213
	FlushText();
210 214
	while(--count_count >= 0) {
211 215
		const Point *pp = vertices;