Fixed MSVC 6 build.

This commit is contained in:
Ianos Gnatiuc
2007-01-11 19:12:35 +00:00
parent 52e08f890e
commit c58810fefe
5 changed files with 17 additions and 46 deletions

View File

@@ -930,7 +930,7 @@ void FileRequest(GMsg* msg)
// Sort list if requested
if (CFG->frqoptions & FREQ_SORT)
{
sort(freqfile.begin(), freqfile.end(), FreqCmp);
std::sort(freqfile.begin(), freqfile.end(), FreqCmp);
}
// Run the picker

View File

@@ -773,8 +773,8 @@ void ReadPeekURLs(GMsg* msg)
}
// Sort list if requested
if(CFG->peekurloptions & FREQ_SORT)
sort(Listi.begin(), Listi.end(), PeekURLCmp);
if (CFG->peekurloptions & FREQ_SORT)
std::sort(Listi.begin(), Listi.end(), PeekURLCmp);
// Run the picker
size_t n = MinV(urls.size(), (MAXROW-10));