mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 18:04:09 +03:00
Remove textboxwrap() and wrap() return value
This removes Graphics::textboxwrap(), as it is now an unused function. Additionally, this removes the return value of textboxclass::wrap(), as it is also now unused.
This commit is contained in:
@@ -3238,18 +3238,6 @@ void Graphics::textboxcentery(void)
|
||||
textboxes[m].should_centery = true;
|
||||
}
|
||||
|
||||
int Graphics::textboxwrap(int pad)
|
||||
{
|
||||
// TODO: delete this function?
|
||||
if (!INBOUNDS_VEC(m, textboxes))
|
||||
{
|
||||
vlog_error("textboxwrap() out-of-bounds!");
|
||||
return 16;
|
||||
}
|
||||
|
||||
return textboxes[m].wrap(pad);
|
||||
}
|
||||
|
||||
void Graphics::textboxpad(size_t left_pad, size_t right_pad)
|
||||
{
|
||||
if (!INBOUNDS_VEC(m, textboxes))
|
||||
|
||||
Reference in New Issue
Block a user