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,
|
ConversationView::GetWeights(float* horizChat, float* horizList,
|
||||||
float* vertChat, float* vertSend)
|
float* vertChat, float* vertSend)
|
||||||
{
|
{
|
||||||
*horizChat = fHorizSplit->ItemWeight(0);
|
*horizChat = fHorizSplit->ItemWeight((int32)0);
|
||||||
*horizList = fHorizSplit->ItemWeight(1);
|
*horizList = fHorizSplit->ItemWeight((int32)1);
|
||||||
*vertChat = fVertSplit->ItemWeight(0);
|
*vertChat = fVertSplit->ItemWeight((int32)0);
|
||||||
*vertSend = fVertSplit->ItemWeight(1);
|
*vertSend = fVertSplit->ItemWeight((int32)1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -98,8 +98,10 @@ MainWindow::QuitRequested()
|
||||||
button_index = alert->Go();
|
button_index = alert->Go();
|
||||||
}
|
}
|
||||||
|
|
||||||
AppPreferences::Get()->MainWindowListWeight = fSplitView->ItemWeight(0);
|
AppPreferences::Get()->MainWindowListWeight
|
||||||
AppPreferences::Get()->MainWindowChatWeight = fSplitView->ItemWeight(1);
|
= fSplitView->ItemWeight((int32)0);
|
||||||
|
AppPreferences::Get()->MainWindowChatWeight
|
||||||
|
= fSplitView->ItemWeight((int32)1);
|
||||||
AppPreferences::Get()->MainWindowRect = Frame();
|
AppPreferences::Get()->MainWindowRect = Frame();
|
||||||
|
|
||||||
if(button_index == 0) {
|
if(button_index == 0) {
|
||||||
|
|
Ŝarĝante…
Reference in New Issue