mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-25 18:10:54 +00:00
Changed: Unicode
This commit is contained in:
parent
5c36c08b60
commit
05a91ecd97
1 changed files with 7 additions and 7 deletions
|
@ -954,8 +954,8 @@ BOOL CFormDialog::OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult)
|
|||
value -= (float)(lpnmud->iDelta) * increment;
|
||||
|
||||
// Print the result
|
||||
char result[512];
|
||||
sprintf (result, "%g", value);
|
||||
TCHAR result[512];
|
||||
_stprintf (result, _T("%g"), value);
|
||||
|
||||
// Set the windnow text
|
||||
combo->Combo.SetWindowText (result);
|
||||
|
@ -1723,13 +1723,13 @@ void CFormMemCombo::getFromDocument (CForm &form)
|
|||
Combo.SetWindowText (label);
|
||||
|
||||
if (arrayNode->getForm () == &form)
|
||||
Label.SetWindowText ("Array size:");
|
||||
Label.SetWindowText (_T("Array size:"));
|
||||
else
|
||||
Label.SetWindowText ("Array size: (in parent form)");
|
||||
Label.SetWindowText (_T("Array size: (in parent form)"));
|
||||
}
|
||||
else
|
||||
{
|
||||
Combo.SetWindowText ("0");
|
||||
Combo.SetWindowText (_T("0"));
|
||||
}
|
||||
Combo.UpdateData (FALSE);
|
||||
}
|
||||
|
@ -1751,11 +1751,11 @@ void CFormMemCombo::getFromDocument (CForm &form)
|
|||
if (node)
|
||||
{
|
||||
CFormElmVirtualStruct *virtualNode = safe_cast<CFormElmVirtualStruct*> (node);
|
||||
Combo.SetWindowText (virtualNode->DfnFilename.c_str());
|
||||
Combo.SetWindowText (utf8ToTStr(virtualNode->DfnFilename));
|
||||
}
|
||||
else
|
||||
{
|
||||
Combo.SetWindowText ("");
|
||||
Combo.SetWindowText (_T(""));
|
||||
}
|
||||
Combo.UpdateData (FALSE);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue