Build fix, removed one line too many.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41708 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
5e3eb88b1c
commit
e26b9867f0
@ -530,6 +530,7 @@ debug_menu_add_advanced_option(Menu* menu, MenuItem* item)
|
||||
|
||||
if (size > 0) {
|
||||
buffer[size] = '\n';
|
||||
size_t pos = strlen(sSafeModeOptionsBuffer);
|
||||
if (pos + size + 1 < sizeof(sSafeModeOptionsBuffer))
|
||||
strlcat(sSafeModeOptionsBuffer, buffer,
|
||||
sizeof(sSafeModeOptionsBuffer));
|
||||
|
Loading…
Reference in New Issue
Block a user