diff --git a/src/apps/packageinstaller/PackageView.cpp b/src/apps/packageinstaller/PackageView.cpp index 58c8fc503a..7d1e7c69c6 100644 --- a/src/apps/packageinstaller/PackageView.cpp +++ b/src/apps/packageinstaller/PackageView.cpp @@ -566,9 +566,9 @@ PackageView::_InitProfiles() for (int i = 1; i < count; i++) { pkg_profile* profile = fInfo.GetProfile(i); - if (profile != NULL) { + if (profile != NULL) _AddInstallTypeMenuItem(profile->name, profile->space_needed, i); - } else + else fInstallTypes->AddSeparatorItem(); } }