[c++] Plane.hh: fix set_bg_rgb8() #2748

This commit is contained in:
nick black 2024-01-31 00:19:58 -05:00
parent d0ae404152
commit 051a1b8bbd
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -901,7 +901,7 @@ namespace ncpp
bool set_bg_rgb8 (int r, int g, int b, bool clipped = false) const NOEXCEPT_MAYBE
{
if (clipped) {
ncplane_set_fg_rgb8_clipped (plane, r, g, b);
ncplane_set_bg_rgb8_clipped (plane, r, g, b);
return true;
}