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);
}

View file

@ -521,7 +521,7 @@ static void* mwVulkanGetFieldImpl(MwWidget handle, MwVulkanField field, MwErrorE
case MwVulkanField_PresentQueue:
return o->vkPresentQueue;
default:
MwPrintIntoBuffer(buf, 1024, "Unknown vulkan field request (%d given)", field);
MwStringPrintIntoBuffer(buf, 1024, "Unknown vulkan field request (%d given)", field);
MwDispatchError(1, buf);
if(out != NULL) {
*out = 1;