Some more code style corrections of Keymap.
This commit is contained in:
@@ -466,8 +466,8 @@ KeymapWindow::_CreateMenu()
|
|||||||
|
|
||||||
for (int32 i = 0; i < numFamilies; i++) {
|
for (int32 i = 0; i < numFamilies; i++) {
|
||||||
if (get_font_family(i, &family, &flags) == B_OK) {
|
if (get_font_family(i, &family, &flags) == B_OK) {
|
||||||
BMenuItem* item =
|
BMenuItem* item
|
||||||
new BMenuItem(family, new BMessage(kMsgMenuFontChanged));
|
= new BMenuItem(family, new BMessage(kMsgMenuFontChanged));
|
||||||
fFontMenu->AddItem(item);
|
fFontMenu->AddItem(item);
|
||||||
|
|
||||||
if (!strcmp(family, currentFamily))
|
if (!strcmp(family, currentFamily))
|
||||||
|
|||||||
Reference in New Issue
Block a user