diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-06-06 20:43:53 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-06-06 20:43:53 +0000 |
commit | 74aabf4bccef1ebe3eace60a9694f44e9a0499ec (patch) | |
tree | 2bdb722b706c0a688fb5141ef4197827e61f747c /plugins/AssocMgr/reg.cpp | |
parent | 83246d23d9e1c1feeaee267b9a1b68c4766e7114 (diff) |
that's all changes
git-svn-id: http://svn.miranda-ng.org/main/trunk@341 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/AssocMgr/reg.cpp')
-rw-r--r-- | plugins/AssocMgr/reg.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/AssocMgr/reg.cpp b/plugins/AssocMgr/reg.cpp index 09b58a1462..53cee0a90a 100644 --- a/plugins/AssocMgr/reg.cpp +++ b/plugins/AssocMgr/reg.cpp @@ -115,9 +115,9 @@ char *MakeUrlClassName(const char *pszUrl) return pszClass;
}
-static BOOL IsFileClassName(const char *pszClassName,const char **ppszFileExt)
+static BOOL IsFileClassName(char *pszClassName, char **ppszFileExt)
{
- *ppszFileExt=strchr(pszClassName,'.');
+ *ppszFileExt = strchr(pszClassName,'.');
return *ppszFileExt!=NULL;
}
@@ -165,7 +165,7 @@ static BOOL IsValidRunCommand(const TCHAR *pszRunCmd) {
TCHAR *buf,*pexe,*pargs;
TCHAR szFullExe[MAX_PATH],*pszFilePart;
- buf=lstrcpy(_alloca((lstrlen(pszRunCmd)+1)*sizeof(TCHAR)),pszRunCmd);
+ buf=lstrcpy((TCHAR*)_alloca((lstrlen(pszRunCmd)+1)*sizeof(TCHAR)),pszRunCmd);
/* split into executable path and arguments */
if(buf[0]==_T('\"')) {
pargs=_tcschr(&buf[1],_T('\"'));
|