зеркало из https://github.com/mozilla/gecko-dev.git
Bustage fix from bug 302039 - STUPID /me needs to null-terminate manually constructed PRUnichar strings, as noted by jruderman
This commit is contained in:
Родитель
540f5dbf47
Коммит
0ec95ce74b
|
@ -1250,8 +1250,8 @@ ProfileLockedDialog(nsILocalFile* aProfileDir, nsILocalFile* aProfileLocalDir,
|
|||
const PRUnichar* params[] = {appName.get(), appName.get()};
|
||||
|
||||
nsXPIDLString killMessage;
|
||||
static const PRUnichar kRestartNoUnlocker[] = {'r','e','s','t','a','r','t','M','e','s','s','a','g','e','N','o','U','n','l','o','c','k','e','r'};
|
||||
static const PRUnichar kRestartUnlocker[] = {'r','e','s','t','a','r','t','M','e','s','s','a','g','e','U','n','l','o','c','k','e','r'};
|
||||
static const PRUnichar kRestartNoUnlocker[] = {'r','e','s','t','a','r','t','M','e','s','s','a','g','e','N','o','U','n','l','o','c','k','e','r','\0'};
|
||||
static const PRUnichar kRestartUnlocker[] = {'r','e','s','t','a','r','t','M','e','s','s','a','g','e','U','n','l','o','c','k','e','r','\0'};
|
||||
|
||||
sb->FormatStringFromName(aUnlocker ? kRestartUnlocker : kRestartNoUnlocker,
|
||||
params, 2, getter_Copies(killMessage));
|
||||
|
|
Загрузка…
Ссылка в новой задаче