Weird error when drawing lines

I’m trying to draw a simple chessboard out of lines in Corona. However two of lines will not show up. The code is pretty simple so it is confusing to why I am having such trouble.

My entire main.lua :
local board = display.newLine( 50, 50, 250, 50 )
– further segments can be added later
board:append( 250, 250, 50, 250, 50, 50)
board:setColor( 255, 255, 255 )
board.width = 1
– horizontal lines
local line1 = display.newLine(50, 75, 250, 75)
local line2 = display.newLine(50, 100, 250, 100)
local line3 = display.newLine(50, 125, 250, 125)
local line4 = display.newLine(50, 150, 250, 150)
local line5 = display.newLine(50, 175, 250, 175)
local line6 = display.newLine(50, 200, 250, 200)
local line7 = display.newLine(50, 225, 250, 225)
– vertical lines
local linea = display.newLine( 75, 50, 75, 250 )
local lineb = display.newLine( 100, 50, 100, 250 )
local linec = display.newLine( 125, 50, 125, 250 )
local lined = display.newLine( 200, 50, 200, 250 )
local linee = display.newLine( 175, 50, 175, 250 )

– trouble maker lines
local lineg = display.newLine( 150, 50, 150, 250 )
local linef = display.newLine( 225, 50, 225, 250 )

These last two lines will not appear. However, if I offset them just 1 then they appear.

For example:

local lineg = display.newLine( 151, 50, 151, 250 )
local linef = display.newLine( 226, 50, 226, 250 )

Works just fine. But they are off by a pixel. :confused:

Why won’t the simulator draw these two lines ? Any help is appreciated. [import]uid: 74483 topic_id: 12458 reply_id: 312458[/import]

maybe am missing something but they show up when i copy and paste your code

c. [import]uid: 24 topic_id: 12458 reply_id: 45541[/import]

The code works fine for me.
The trouble maker lines are not creating any trouble.
do you just have this code in your main file or anything else ?

[import]uid: 71210 topic_id: 12458 reply_id: 45545[/import]