mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-27 16:22:32 +03:00
chore(ui): add detail to comment in FrameScript_Sprintf
This commit is contained in:
1 file changed
+1
-1
@@ -930,7 +930,7 @@ const char* FrameScript_Sprintf(lua_State* L, int32_t idx, char buffer[], uint32
|
|||||||
luaL_error(L, "invalid format (width or precision too long)");
|
luaL_error(L, "invalid format (width or precision too long)");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Copy subspecifier
|
// Copy subspecifier and specifier (len + 1)
|
||||||
|
|
||||||
memcpy(&specifier[1], subspecifierStart, subspecifierLen + 1);
|
memcpy(&specifier[1], subspecifierStart, subspecifierLen + 1);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user