зеркало из https://github.com/mozilla/pjs.git
Fix for bug # 118237. Removed shorPathBuf in thisApplication()
r=rdayal@netscape.com, sr=jaggernaut@netscape.com
This commit is contained in:
Родитель
516dd44950
Коммит
6d6fc3301c
|
@ -70,8 +70,7 @@ const char * nsMapiRegistryUtils::thisApplication()
|
|||
char buffer[MAX_PATH] = {0};
|
||||
DWORD len = ::GetModuleFileName(NULL, buffer, MAX_PATH);
|
||||
if (!len) return nsnull ;
|
||||
char shortPathBuf[MAX_PATH] = {0};
|
||||
len = ::GetShortPathName(buffer, shortPathBuf, MAX_PATH);
|
||||
len = ::GetShortPathName(buffer, buffer, MAX_PATH);
|
||||
if (!len) return nsnull ;
|
||||
m_thisApp = buffer;
|
||||
ToUpperCase(m_thisApp);
|
||||
|
|
Загрузка…
Ссылка в новой задаче