mirror of https://github.com/odrling/Aegisub
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:
parent
b2c1eced55
commit
ece75e0652
|
@ -169,7 +169,7 @@ wxThread::ExitCode VersionCheckThread::Entry() {
|
||||||
// Try each path until it finds one that works
|
// Try each path until it finds one that works
|
||||||
for (unsigned int i=0;i<paths.Count();i++) {
|
for (unsigned int i=0;i<paths.Count();i++) {
|
||||||
// Get path and make sure that it has a handle for it
|
// 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();
|
wxMutexGuiEnter();
|
||||||
if (!alive) goto endThread;
|
if (!alive) goto endThread;
|
||||||
if (!wxFileSystem::HasHandlerForPath(path)) {
|
if (!wxFileSystem::HasHandlerForPath(path)) {
|
||||||
|
|
Loading…
Reference in New Issue