This commit is contained in:
morse%netscape.com 1999-10-16 23:37:28 +00:00
Родитель 0ccf1220b4
Коммит aae485a01f
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -2322,7 +2322,7 @@ WLLT_GetPrefillListForViewer(nsString& aPrefillList)
} }
char * urlCString; char * urlCString;
urlCString = wallet_url.ToNewCString(); urlCString = wallet_url.ToNewCString();
g += PR_snprintf(buffer+g, BUFLEN3-g,"%c%ld%c%s", BREAK, wallet_list, BREAK, urlCString); g += PR_snprintf(buffer+g, BUFLEN3-g,"%c%p%c%s", BREAK, wallet_list, BREAK, urlCString);
delete []urlCString; delete []urlCString;
aPrefillList = buffer; aPrefillList = buffer;
PR_FREEIF(buffer); PR_FREEIF(buffer);
@ -2719,7 +2719,7 @@ WLLT_PrefillReturn(nsAutoString results) {
/* process the list, doing the fillins */ /* process the list, doing the fillins */
nsVoidArray * list; nsVoidArray * list;
sscanf(listAsAscii, "%ld", &list); sscanf(listAsAscii, "%p", &list);
if (fillins[0] == '\0') { /* user pressed CANCEL */ if (fillins[0] == '\0') { /* user pressed CANCEL */
wallet_ReleasePrefillElementList(list); wallet_ReleasePrefillElementList(list);
return; return;