Clear out a structure, that if not cleared causes the FileWidget to be

weird sizes. PHOTON ONLY.
This commit is contained in:
Jerry.Kirk%Nexwarecorp.com 2000-02-09 13:03:45 +00:00
Родитель d402dcb6e1
Коммит ff5736ce70
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -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)
{