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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user