Make version checker include current version (source SVN revision) in request for latest.txt, for statistics purposes.

Originally committed to SVN as r3140.
This commit is contained in:
Niels Martin Hansen 2009-07-14 23:23:39 +00:00
parent b2c1eced55
commit ece75e0652

View file

@ -169,7 +169,7 @@ wxThread::ExitCode VersionCheckThread::Entry() {
// Try each path until it finds one that works
for (unsigned int i=0;i<paths.Count();i++) {
// Get path and make sure that it has a handle for it
wxString path = paths[i];
wxString path = wxString::Format(_T("%s?current=%d"), paths[i].c_str(), GetSVNRevision());
wxMutexGuiEnter();
if (!alive) goto endThread;
if (!wxFileSystem::HasHandlerForPath(path)) {