Bug#155404

File names generated in File Save As menu are incorrect in BeOS.

r=arougthopher
a=scc


git-svn-id: svn://10.0.0.236/trunk@125459 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
arougthopher%lizardland.net
2002-07-18 12:09:09 +00:00
parent 7d81f1b38d
commit 1b134606f6

View File

@@ -111,7 +111,7 @@ NS_IMETHODIMP nsFilePicker::Show(PRInt16 *retval)
// set default text
if (mDefault.Length() > 0) {
char *defaultText = ToNewCString(mDefault);
char *defaultText = ToNewUTF8String(mDefault);
ppanel->SetSaveText(defaultText);
Recycle(defaultText);
}