Browse Source

Suppress HTTP scheme omission. Fixes #688

qvint 5 years ago
parent
commit
55e536996e
1 changed files with 4 additions and 3 deletions
  1. 4 3
      patches/ungoogled-chromium/disable-formatting-in-omnibox.patch

+ 4 - 3
patches/ungoogled-chromium/disable-formatting-in-omnibox.patch

@@ -8,14 +8,15 @@
  
 -const FormatUrlType kFormatUrlOmitNothing = 0;
 -const FormatUrlType kFormatUrlOmitUsernamePassword = 1 << 0;
-+const FormatUrlType kFormatUrlOmitNothing = 1;
-+const FormatUrlType kFormatUrlOmitUsernamePassword = 0 << 0;
- const FormatUrlType kFormatUrlOmitHTTP = 1 << 1;
+-const FormatUrlType kFormatUrlOmitHTTP = 1 << 1;
 -const FormatUrlType kFormatUrlOmitTrailingSlashOnBareHostname = 1 << 2;
 -const FormatUrlType kFormatUrlOmitHTTPS = 1 << 3;
 -const FormatUrlType kFormatUrlOmitTrivialSubdomains = 1 << 5;
 -const FormatUrlType kFormatUrlTrimAfterHost = 1 << 6;
 -const FormatUrlType kFormatUrlOmitFileScheme = 1 << 7;
++const FormatUrlType kFormatUrlOmitNothing = 1;
++const FormatUrlType kFormatUrlOmitUsernamePassword = 0 << 0;
++const FormatUrlType kFormatUrlOmitHTTP = 0 << 1;
 +const FormatUrlType kFormatUrlOmitTrailingSlashOnBareHostname = 0 << 2;
 +const FormatUrlType kFormatUrlOmitHTTPS = 0 << 3;
 +const FormatUrlType kFormatUrlOmitTrivialSubdomains = 0 << 5;