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:
Rene Gollent 2011-05-24 12:34:05 +00:00
parent 5e3eb88b1c
commit e26b9867f0

View File

@ -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));