short if instead of ternary in draw_rectangle
Merge pull request #1 from gambhiro/patch-1

short if instead of ternary in draw_rectangle