1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-18 19:29:09 +00:00

Fix PageInfo component

This commit is contained in:
2013-01-27 00:00:16 -05:00
parent ceaa747ff1
commit c607ea3cf3

View File

@ -272,7 +272,7 @@ protected:
int idx = ComboBox_AddString( hAgeCombo, ageName.c_str() ); int idx = ComboBox_AddString( hAgeCombo, ageName.c_str() );
// Store the pathas the item data for later (so don't free it yet!) // Store the pathas the item data for later (so don't free it yet!)
ComboBox_SetItemData( hAgeCombo, idx, (LPARAM)ageFiles[i].AsString().c_str() ); ComboBox_SetItemData( hAgeCombo, idx, (LPARAM)hsStrcpy(ageFiles[i].AsString().c_str()) );
if (ageName == curAge) if (ageName == curAge)
ComboBox_SetCurSel( hAgeCombo, idx ); ComboBox_SetCurSel( hAgeCombo, idx );