зеркало из https://github.com/mozilla/gecko-dev.git
Clear out a structure, that if not cleared causes the FileWidget to be
weird sizes. PHOTON ONLY.
This commit is contained in:
Родитель
d402dcb6e1
Коммит
ff5736ce70
|
@ -85,6 +85,9 @@ PRBool nsFileWidget::Show()
|
|||
char format[] = "100n50d"; /* 100 Pix for Name, 50 Pix for Date */
|
||||
int flags = 0;
|
||||
PtFileSelectionInfo_t info;
|
||||
|
||||
/* NULL out the structure else it will be a whacky size.. not sure if this is a bug or not... */
|
||||
memset(&info, NULL, sizeof info);
|
||||
|
||||
if (mMode == eMode_load)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче