Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

Commit

Permalink
fix: windowPaint wrong implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
boriel committed Aug 19, 2023
1 parent 1f71db8 commit b7864e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/library/windowpaint.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Where

```
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)
paint(x,y,width,height,(isFlash<<7+isBright<<6+paperCol<<3+inkCol))
paint(x,y,width,height,(isFlash<<7) bOR (isBright<<6) bOR (paperCol<<3) bOR inkCol)
END SUB
Expand Down

0 comments on commit b7864e3

Please sign in to comment.