document MwStringPrintIntoBuffer slightly better

This commit is contained in:
IoI_xD 2026-03-30 11:19:10 -07:00
commit 32842ca160
11 changed files with 18 additions and 17 deletions

View file

@ -15,7 +15,7 @@ void color_callback(MwWidget handle, void* user_data, void* call_data) {
rgb->red &= 0xff;
rgb->green &= 0xff;
rgb->blue &= 0xff;
MwPrintIntoBuffer(hexColor, 8, "#%02X%02X%02X", rgb->red, rgb->green, rgb->blue);
MwStringPrintIntoBuffer(hexColor, 8, "#%02X%02X%02X", rgb->red, rgb->green, rgb->blue);
MwSetText(window, MwNbackground, hexColor);
}