x86 fix for ItemWeight use
This commit is contained in:
parent
bcb92de53c
commit
10b63e4138
|
@ -309,10 +309,10 @@ void
|
|||
ConversationView::GetWeights(float* horizChat, float* horizList,
|
||||
float* vertChat, float* vertSend)
|
||||
{
|
||||
*horizChat = fHorizSplit->ItemWeight(0);
|
||||
*horizList = fHorizSplit->ItemWeight(1);
|
||||
*vertChat = fVertSplit->ItemWeight(0);
|
||||
*vertSend = fVertSplit->ItemWeight(1);
|
||||
*horizChat = fHorizSplit->ItemWeight((int32)0);
|
||||
*horizList = fHorizSplit->ItemWeight((int32)1);
|
||||
*vertChat = fVertSplit->ItemWeight((int32)0);
|
||||
*vertSend = fVertSplit->ItemWeight((int32)1);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -98,8 +98,10 @@ MainWindow::QuitRequested()
|
|||
button_index = alert->Go();
|
||||
}
|
||||
|
||||
AppPreferences::Get()->MainWindowListWeight = fSplitView->ItemWeight(0);
|
||||
AppPreferences::Get()->MainWindowChatWeight = fSplitView->ItemWeight(1);
|
||||
AppPreferences::Get()->MainWindowListWeight
|
||||
= fSplitView->ItemWeight((int32)0);
|
||||
AppPreferences::Get()->MainWindowChatWeight
|
||||
= fSplitView->ItemWeight((int32)1);
|
||||
AppPreferences::Get()->MainWindowRect = Frame();
|
||||
|
||||
if(button_index == 0) {
|
||||
|
|
Ŝarĝante…
Reference in New Issue