applied patch #1179116 - debian amd64/gcc-4.0 build fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3955 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
4fa0dc6087
commit
0856e2a3c4
2 changed files with 9 additions and 9 deletions
|
@ -444,7 +444,7 @@ void CDialogTemplate::ConvertToRTL() {
|
|||
bool addExStyle = false;
|
||||
|
||||
// Button
|
||||
if (int(m_vItems[i]->szClass) == 0x80) {
|
||||
if (long(m_vItems[i]->szClass) == 0x80) {
|
||||
m_vItems[i]->dwStyle ^= BS_LEFTTEXT;
|
||||
m_vItems[i]->dwStyle ^= BS_RIGHT;
|
||||
m_vItems[i]->dwStyle ^= BS_LEFT;
|
||||
|
@ -458,13 +458,13 @@ void CDialogTemplate::ConvertToRTL() {
|
|||
}
|
||||
}
|
||||
// Edit
|
||||
else if (int(m_vItems[i]->szClass) == 0x81) {
|
||||
else if (long(m_vItems[i]->szClass) == 0x81) {
|
||||
if ((m_vItems[i]->dwStyle & ES_CENTER) == 0) {
|
||||
m_vItems[i]->dwStyle ^= ES_RIGHT;
|
||||
}
|
||||
}
|
||||
// Static
|
||||
else if (int(m_vItems[i]->szClass) == 0x82) {
|
||||
else if (long(m_vItems[i]->szClass) == 0x82) {
|
||||
if ((m_vItems[i]->dwStyle & SS_TYPEMASK) == SS_LEFT || (m_vItems[i]->dwStyle & SS_TYPEMASK) == SS_LEFTNOWORDWRAP)
|
||||
{
|
||||
m_vItems[i]->dwStyle &= ~SS_TYPEMASK;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue