diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2013-07-16 11:50:40 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2013-07-16 11:50:40 +0000 |
commit | b7ba413fea4561357ab6794d8e8135b3838679cf (patch) | |
tree | 828f571ffa2c39d871d8e50167d37a12c768b2ae /plugins/PluginUpdater/src | |
parent | 1d730d5777dbeb64a51865dea4fcdf0b0b4ee7f0 (diff) |
updated link
git-svn-id: http://svn.miranda-ng.org/main/trunk@5383 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater/src')
-rw-r--r-- | plugins/PluginUpdater/src/DlgListNew.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/PluginUpdater/src/DlgListNew.cpp b/plugins/PluginUpdater/src/DlgListNew.cpp index 375231885e..0186fdcf18 100644 --- a/plugins/PluginUpdater/src/DlgListNew.cpp +++ b/plugins/PluginUpdater/src/DlgListNew.cpp @@ -145,9 +145,9 @@ static LRESULT CALLBACK PluginListWndProc(HWND hwnd, UINT msg, WPARAM wParam, LP _tcscpy(tszFileName, _tcsrchr(info->tszNewName, L'\\') + 1);
TCHAR *p = _tcschr(tszFileName, L'.'); *p = 0;
- char link[MAX_PATH];
- mir_snprintf(link, MAX_PATH, "http://wiki.miranda-ng.org/index.php?title=Plugin:%s", _T2A(tszFileName));
- CallService(MS_UTILS_OPENURL, 0, (LPARAM) link);
+ TCHAR link[MAX_PATH];
+ mir_sntprintf(link, MAX_PATH, _T("http://miranda-ng.org/p/%s"), tszFileName);
+ CallService(MS_UTILS_OPENURL, OUF_TCHAR, (LPARAM) link);
}
}
}
|