diff options
Diffstat (limited to 'plugins/ShellExt/src/main.cpp')
| -rw-r--r-- | plugins/ShellExt/src/main.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ShellExt/src/main.cpp b/plugins/ShellExt/src/main.cpp index 24e1cdc736..c8e840cc48 100644 --- a/plugins/ShellExt/src/main.cpp +++ b/plugins/ShellExt/src/main.cpp @@ -128,7 +128,7 @@ STDAPI DllRegisterServer()  	TCHAR tszFileName[MAX_PATH];
  	GetModuleFileName(hInst, tszFileName, SIZEOF(tszFileName));
 -	if ( RegSetValueEx(kInprocServer, NULL, 0, REG_SZ, (LPBYTE)tszFileName, sizeof(TCHAR)*(lstrlen(tszFileName)+1)))
 +	if ( RegSetValueEx(kInprocServer, NULL, 0, REG_SZ, (LPBYTE)tszFileName, sizeof(TCHAR)*(mir_tstrlen(tszFileName)+1)))
  		return E_FAIL;
  	if ( RegSetValueExA(kInprocServer, "ThreadingModel", 0, REG_SZ, (PBYTE)str4, sizeof(str4)))
  		return E_FAIL;
  | 
