[Sphere-axis-commits] CVS: Axis ChooseProfileDlg.cpp,1.7,1.8 itemgentab.cpp,1.23,1.24 SPAWNTAB.CPP,1
Brought to you by:
pesterle
From: Philip E. <pes...@us...> - 2003-06-26 22:28:07
|
Update of /cvsroot/sphere-axis/Axis In directory sc8-pr-cvs1:/tmp/cvs-serv5154 Modified Files: ChooseProfileDlg.cpp itemgentab.cpp SPAWNTAB.CPP Log Message: no message Index: ChooseProfileDlg.cpp =================================================================== RCS file: /cvsroot/sphere-axis/Axis/ChooseProfileDlg.cpp,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -r1.7 -r1.8 *** ChooseProfileDlg.cpp 23 May 2003 18:15:21 -0000 1.7 --- ChooseProfileDlg.cpp 26 Jun 2003 22:28:01 -0000 1.8 *************** *** 84,88 **** { int iIndex = m_clbProfiles.AddString(sName); ! m_clbProfiles.SetItemData(iIndex, m_aInfo.GetAt(i)); } } --- 84,88 ---- { int iIndex = m_clbProfiles.AddString(sName); ! m_clbProfiles.SetItemData(iIndex, i); } } *************** *** 95,99 **** void CChooseProfileDlg::OnOK() { ! m_iSelection = m_clbProfiles.GetCurSel(); if ( m_iSelection == -1 ) OnCancel(); --- 95,100 ---- void CChooseProfileDlg::OnOK() { ! int iSel = m_clbProfiles.GetCurSel(); ! m_iSelection = m_clbProfiles.GetItemData(iSel); if ( m_iSelection == -1 ) OnCancel(); Index: itemgentab.cpp =================================================================== RCS file: /cvsroot/sphere-axis/Axis/itemgentab.cpp,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -r1.23 -r1.24 *** itemgentab.cpp 12 Jun 2003 03:15:32 -0000 1.23 --- itemgentab.cpp 26 Jun 2003 22:28:01 -0000 1.24 *************** *** 311,314 **** --- 311,316 ---- CString sDescription, sID; sDescription = Main->m_pScripts->GetItemDescription(iIndex); + if ( sDescription == _T("") ) + sDescription = _T("<unnamed>"); sID = Main->m_pScripts->GetItemID(iIndex); m_clcItems.InsertItem(iCount, sDescription, 0); Index: SPAWNTAB.CPP =================================================================== RCS file: /cvsroot/sphere-axis/Axis/SPAWNTAB.CPP,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -r1.22 -r1.23 *** SPAWNTAB.CPP 12 Jun 2003 03:15:34 -0000 1.22 --- SPAWNTAB.CPP 26 Jun 2003 22:28:02 -0000 1.23 *************** *** 256,259 **** --- 256,261 ---- CString sDescription, sID; sDescription = Main->m_pScripts->GetCharacterDescription(iIndex); + if ( sDescription == _T("") ) + sDescription = _T("<unnamed>"); sID = Main->m_pScripts->GetCharacterID(iIndex); m_clcCreatures.InsertItem(iCount, sDescription, 0); |