document MwStringPrintIntoBuffer slightly better
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit
This commit is contained in:
parent
35d2b4bb76
commit
32842ca160
11 changed files with 18 additions and 17 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue