Merge pull request #78 from resset/master

gdisp: fixed bug in line drawing function