=== modified file 'src/display/canvas-grid.cpp' --- src/display/canvas-grid.cpp 2014-03-30 21:43:02 +0000 +++ src/display/canvas-grid.cpp 2014-08-16 01:16:07 +0000 @@ -878,6 +878,7 @@ cairo_stroke(buf->ct); } +//Function that makes grid dots static void grid_dot (SPCanvasBuf *buf, gint x, gint y, guint32 rgba) { @@ -949,13 +950,13 @@ || (!scaled[Geom::Y] && (ylinenum % empspacing) != 0) || ((scaled[Geom::X] || scaled[Geom::Y]) && no_emp_when_zoomed_out) ) { - grid_dot (buf, ix, iy, color | (guint32)0x000000FF); // put alpha to max value + grid_dot (buf, ix, iy, color ); } else { gint const pitch = 1; grid_dot (buf, ix-pitch, iy, _empcolor); grid_dot (buf, ix+pitch, iy, _empcolor); - grid_dot (buf, ix, iy, _empcolor | (guint32)0x000000FF); // put alpha to max value + grid_dot (buf, ix, iy, _empcolor ); grid_dot (buf, ix, iy-pitch, _empcolor); grid_dot (buf, ix, iy+pitch, _empcolor);