Closed Bug 789852 Opened 10 years ago Closed 10 years ago
Cannot specify text editor to source
_view .editor .path if it's located in non-ASCII folder
Current code use nsIPrefBranch.getCharPref() and nsIFile.initWithPath(). Internal type of the getCharPref() is const char*. On the other hand, the type of the param of initWithPath() is nsAString&. So, the code causes lossy conversion.
Attachment #659619 - Flags: review?(gavin.sharp) → review+
Target Milestone: --- → mozilla18
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.