Skip to content

Commit 4b09a3f

Browse files
committed
Merge branch '12_22' of github.com:chrisws/SmallBASIC into 12_22
2 parents 527f145 + 8f1efb1 commit 4b09a3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ui/rgb.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ inline void v_get_argb(int64_t c, uint8_t &a, uint8_t &r, uint8_t &g, uint8_t &b
2323
r = 0;
2424
g = 0;
2525
b = 0;
26-
} if (c < 0) {
26+
} else if (c < 0) {
2727
// from RGB
2828
a = 255;
2929
r = (-c & 0xff0000) >> 16;

0 commit comments

Comments
 (0)