From 051a1b8bbd3f299137bb40d869daf6c9dd8ea037 Mon Sep 17 00:00:00 2001 From: nick black Date: Wed, 31 Jan 2024 00:19:58 -0500 Subject: [PATCH] [c++] Plane.hh: fix set_bg_rgb8() #2748 --- include/ncpp/Plane.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ncpp/Plane.hh b/include/ncpp/Plane.hh index 48b36ed9b..d020a8cfb 100644 --- a/include/ncpp/Plane.hh +++ b/include/ncpp/Plane.hh @@ -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; }