mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-11-18 11:08:26 +00:00
parent
4cdf9315ae
commit
9ca3c07e82
@ -695,7 +695,7 @@ nsLocation::SetProtocol(const nsAString& aProtocol)
|
||||
nsAString::const_iterator start, end;
|
||||
aProtocol.BeginReading(start);
|
||||
aProtocol.EndReading(end);
|
||||
nsAstring::const_iterator iter(start);
|
||||
nsAString::const_iterator iter(start);
|
||||
Unused << FindCharInReadable(':', iter, end);
|
||||
rv = uri->SetScheme(NS_ConvertUTF16toUTF8(Substring(start, iter)));
|
||||
if (NS_WARN_IF(NS_FAILED(rv))) {
|
||||
|
Loading…
Reference in New Issue
Block a user