fixed when to return 0
Merge branch 'master' of https://github.com/maarten990/Graphics