making string conversions explicit

This commit is contained in:
scc%netscape.com 2000-04-23 19:55:29 +00:00
Родитель af2c4a7c11
Коммит eddf6715bd
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -158,7 +158,7 @@ NS_IMETHODIMP nsMessengerBootstrap::OpenMessengerWindowWithUri(nsIURI *aURI)
// we need to use the "mailnews.reuse_thread_window2" pref
// to determine if we should open a new window, or use an existing one.
rv = openWindow(nsString(chromeurl).GetUnicode(),nsString(args).GetUnicode());
rv = openWindow(NS_ConvertASCIItoUCS2(chromeurl).GetUnicode(),NS_ConvertASCIItoUCS2(args).GetUnicode());
if (NS_FAILED(rv)) return rv;
return NS_OK;