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

@@ -187,8 +187,7 @@ bool wpickfile(int srow, int scol, int erow, int ecol, int btype, vattr bordattr
}
// sort files in array by swapping their pointers
sort(strarr.begin( ), strarr.end( ), compare);
//std::qsort(p, files, sizeof(char*), (StdCmpCP)compare);
std::sort(strarr.begin(), strarr.end(), compare);
// let user pick file
if (strarr.size())