fixed warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9211 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
5741bcb5d8
commit
4b078ea6cb
@ -50,7 +50,6 @@ AccountConfigView::AccountConfigView(BRect rect,Account *account)
|
||||
fAccount(account)
|
||||
{
|
||||
SetLabel(MDR_DIALECT_CHOICE ("Account Configuration","アカウント設定"));
|
||||
BMailChain *settings = account->Inbound() ? account->Inbound() : account->Outbound();
|
||||
|
||||
rect = Bounds().InsetByCopy(8,8);
|
||||
rect.top += 10;
|
||||
@ -538,7 +537,7 @@ FiltersConfigView::FiltersConfigView(BRect rect,Account *account)
|
||||
|
||||
BMenuItem *item;
|
||||
BMessage *msg;
|
||||
if (fChain = fAccount->Inbound())
|
||||
if ((fChain = fAccount->Inbound()))
|
||||
{
|
||||
menu->AddItem(item = new BMenuItem(MDR_DIALECT_CHOICE ("Incoming E-mail Filters","受信フィルタ"),msg = new BMessage(kMsgChainSelected)));
|
||||
msg->AddPointer("chain",fChain);
|
||||
|
@ -538,7 +538,7 @@ ConfigWindow::MakeHowToView()
|
||||
{
|
||||
// copy and enlarge a 32x32 8-bit bitmap
|
||||
char *bits = (char *)bitmap->Bits();
|
||||
for (int32 i = 0, j = -64;i < length;i++)
|
||||
for (int32 i=0, j=-64; i<(int32)length; i++)
|
||||
{
|
||||
if ((i % 32) == 0)
|
||||
j += 64;
|
||||
@ -816,7 +816,7 @@ ConfigWindow::SetToGeneralSettings(BMailSettings *settings)
|
||||
item->SetMarked(true);
|
||||
if (BMenuItem *item = fStatusLookField->Menu()->ItemAt(settings->StatusWindowLook()))
|
||||
item->SetMarked(true);
|
||||
if (BMenuItem *item = fStatusWorkspaceField->Menu()->ItemAt(settings->StatusWindowWorkspaces() != B_ALL_WORKSPACES ? 0 : 1))
|
||||
if (BMenuItem *item = fStatusWorkspaceField->Menu()->ItemAt((uint32)settings->StatusWindowWorkspaces() != B_ALL_WORKSPACES ? 0 : 1))
|
||||
item->SetMarked(true);
|
||||
|
||||
BMessenger messenger("application/x-vnd.Be-POST");
|
||||
|
Loading…
Reference in New Issue
Block a user