diff options
-rw-r--r-- | shell/source/win32/simplemail/smplmailclient.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/source/win32/simplemail/smplmailclient.cxx b/shell/source/win32/simplemail/smplmailclient.cxx index d40577892cb3..333277353d03 100644 --- a/shell/source/win32/simplemail/smplmailclient.cxx +++ b/shell/source/win32/simplemail/smplmailclient.cxx @@ -67,7 +67,7 @@ namespace /* private */ LONG lret = RegOpenKeyW(HKEY_CURRENT_USER, L"Software\\LibreOffice\\SendAsEMailClient", &hkey); if (lret == ERROR_SUCCESS) { - wchar_t buff[MAX_PATH]; + wchar_t buff[32767]; LONG sz = sizeof(buff); lret = RegQueryValueW(hkey, nullptr, buff, &sz); if (lret == ERROR_SUCCESS) |