mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 08:14:04 +02:00
Whitespace.
This commit is contained in:
+2
-2
@@ -10264,7 +10264,7 @@ int ma_vscprintf(const char* format, va_list args)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (;;) {
|
for (;;) {
|
||||||
char* pNewTempBuffer = (char*)ma_realloc(pTempBuffer, tempBufferCap, NULL); /* TODO: Add support for custom memory allocators? */
|
char* pNewTempBuffer = (char*)ma_realloc(pTempBuffer, tempBufferCap, NULL); /* TODO: Add support for custom memory allocators? */
|
||||||
if (pNewTempBuffer == NULL) {
|
if (pNewTempBuffer == NULL) {
|
||||||
ma_free(pTempBuffer, NULL);
|
ma_free(pTempBuffer, NULL);
|
||||||
@@ -10283,7 +10283,7 @@ int ma_vscprintf(const char* format, va_list args)
|
|||||||
|
|
||||||
/* Buffer wasn't big enough. Ideally it'd be nice to use an error code to know the reason for sure, but this is reliable enough. */
|
/* Buffer wasn't big enough. Ideally it'd be nice to use an error code to know the reason for sure, but this is reliable enough. */
|
||||||
tempBufferCap *= 2;
|
tempBufferCap *= 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user