Explicitly use the old style.
This commit is contained in:
@@ -53,7 +53,7 @@ BOOL LanguagesDlg::OnInitDialog()
|
|||||||
vector<RString> vs;
|
vector<RString> vs;
|
||||||
GetDirListing( SpecialFiles::THEMES_DIR+"*", vs, true );
|
GetDirListing( SpecialFiles::THEMES_DIR+"*", vs, true );
|
||||||
StripCvsAndSvn( vs );
|
StripCvsAndSvn( vs );
|
||||||
FOREACH_CONST( RString, vs, s )
|
for (vector<RString>::const_iterator s = vs.begin(); s != vs.end(); ++s)
|
||||||
m_listThemes.AddString( *s );
|
m_listThemes.AddString( *s );
|
||||||
if( !vs.empty() )
|
if( !vs.empty() )
|
||||||
m_listThemes.SetSel( 0 );
|
m_listThemes.SetSel( 0 );
|
||||||
@@ -100,7 +100,7 @@ void LanguagesDlg::OnSelchangeListThemes()
|
|||||||
|
|
||||||
vector<RString> vs;
|
vector<RString> vs;
|
||||||
GetDirListing( sLanguagesDir+"*.ini", vs, false );
|
GetDirListing( sLanguagesDir+"*.ini", vs, false );
|
||||||
FOREACH_CONST( RString, vs, s )
|
for (vector<RString>::const_iterator s = vs.begin(); s != vs.end(); ++s)
|
||||||
{
|
{
|
||||||
RString sIsoCode = GetFileNameWithoutExtension(*s);
|
RString sIsoCode = GetFileNameWithoutExtension(*s);
|
||||||
RString sLanguage = SMPackageUtil::GetLanguageDisplayString(sIsoCode);
|
RString sLanguage = SMPackageUtil::GetLanguageDisplayString(sIsoCode);
|
||||||
@@ -389,7 +389,7 @@ void LanguagesDlg::OnBnClickedButtonImport()
|
|||||||
int iNumModified = 0;
|
int iNumModified = 0;
|
||||||
int iNumUnchanged = 0;
|
int iNumUnchanged = 0;
|
||||||
int iNumIgnored = 0;
|
int iNumIgnored = 0;
|
||||||
FOREACH_CONST( CsvFile::StringVector, csv.m_vvs, line )
|
for (vector<CsvFile::StringVector>::const_iterator line = csv.m_vvs.begin(); line != csv.m_vvs.end(); ++line)
|
||||||
{
|
{
|
||||||
int iLineIndex = line - csv.m_vvs.begin();
|
int iLineIndex = line - csv.m_vvs.begin();
|
||||||
|
|
||||||
@@ -462,7 +462,7 @@ void GetAllMatches( const RString &sRegex, const RString &sString, vector<RStrin
|
|||||||
void DumpList( const vector<RString> &asList, RageFile &file )
|
void DumpList( const vector<RString> &asList, RageFile &file )
|
||||||
{
|
{
|
||||||
RString sLine;
|
RString sLine;
|
||||||
FOREACH_CONST( RString, asList, s )
|
for (vector<RString>::const_iterator s = asList.begin(); s != asList.end(); ++s)
|
||||||
{
|
{
|
||||||
if( sLine.size() + s->size() > 100 )
|
if( sLine.size() + s->size() > 100 )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user