document MwStringPrintIntoBuffer slightly better
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit

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

@ -103,9 +103,9 @@ static void mouse_up(MwWidget handle, void* ptr) {
if(e->mouse.x >= (w - e->right)) {
char s[512];
if(e->mouse.y >= (h / 2)) {
MwPrintIntoBuffer(s, 512, "%g", atof(str) - 1);
MwStringPrintIntoBuffer(s, 512, "%g", atof(str) - 1);
} else {
MwPrintIntoBuffer(s, 512, "%g", atof(str) + 1);
MwStringPrintIntoBuffer(s, 512, "%g", atof(str) + 1);
}
MwSetText(handle, MwNtext, s);
}