зеркало из https://github.com/mozilla/gecko-dev.git
25 is the right max for Mac. from ns/lib/libmsg/newshost.cpp in the old world.
This commit is contained in:
Родитель
b8cb6d85e5
Коммит
58cd4c16c1
|
@ -237,8 +237,7 @@ nsresult NS_MsgHashIfNecessary(nsString &name)
|
|||
#if defined(XP_WIN16) || defined(XP_OS2)
|
||||
const PRUint32 MAX_LEN = 8;
|
||||
#elif defined(XP_MAC)
|
||||
// mac sucks. 32 has to cover name + sbdSep.
|
||||
const PRUint32 MAX_LEN = 28;
|
||||
const PRUint32 MAX_LEN = 25;
|
||||
#elif defined(XP_UNIX) || defined(XP_PC)
|
||||
const PRUint32 MAX_LEN = 55;
|
||||
#else
|
||||
|
|
Загрузка…
Ссылка в новой задаче