Author: czeidler Date: 2011-03-21 06:24:48 +0100 (Mon, 21 Mar 2011) New Revision: 41061 Changeset: https://dev.haiku-os.org/changeset/41061 Ticket: https://dev.haiku-os.org/ticket/7385 Modified: haiku/trunk/src/apps/mail/Prefs.cpp Log: Fix wrong check (#7385). Modified: haiku/trunk/src/apps/mail/Prefs.cpp =================================================================== --- haiku/trunk/src/apps/mail/Prefs.cpp 2011-03-20 21:13:59 UTC (rev 41060) +++ haiku/trunk/src/apps/mail/Prefs.cpp 2011-03-21 05:24:48 UTC (rev 41061) @@ -629,7 +629,7 @@ //menu->SetRadioMode(true); BMailAccounts accounts; - if (accounts.CountAccounts()) { + if (accounts.CountAccounts() == 0) { menu->AddItem(item = new BMenuItem("<no account found>", NULL)); item->SetEnabled(false); return menu;