Skip to content

Commit ef7df2d

Browse files
committed
fix: windowPaint wrong implementation
1 parent 7e6431d commit ef7df2d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/library/windowpaint.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Where
3030

3131
```
3232
SUB windowPaint(x as uByte,y as uByte, width as uByte, height as uByte, inkCol as ubyte, paperCol as uByte, isBright as uByte, isFlash as uByte)
33-
paint(x,y,width,height,(isFlash<<7+isBright<<6+paperCol<<3+inkCol))
33+
paint(x,y,width,height,(isFlash<<7) bOR (isBright<<6) bOR (paperCol<<3) bOR inkCol)
3434
END SUB
3535
3636

0 commit comments

Comments
 (0)