fixes for latest compiler and latest nimble

This commit is contained in:
Stefan Salewski 2018-02-26 11:42:49 +01:00
commit 0e39573031
12 changed files with 77 additions and 4353 deletions

View file

@ -19,7 +19,7 @@ proc drawingAreaDrawCb(widget: DrawingArea; context: Context): bool =
var redrawNumber {.global.} : int
let width = getAllocatedWidth(widget)
let height = getAllocatedHeight(widget)
for i in 1 .. < NumPoints:
for i in 1 ..< NumPoints:
context.lineTo(i.float , sineToPoint(i + redrawNumber, width, height))
context.stroke
inc(redrawNumber)