Removed trailing newline from window name.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16529 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2006-02-27 14:00:18 +00:00
parent 13a82fc35a
commit a41bc2d828

View File

@ -1576,10 +1576,10 @@ BMenu::MenuWindow()
{
if (fCachedMenuWindow == NULL) {
char windowName[64];
snprintf(windowName, 64, "%s cached menuwindow\n", Name());
snprintf(windowName, 64, "%s cached menu", Name());
fCachedMenuWindow = new BMenuWindow(windowName, this);
}
return fCachedMenuWindow;
}