mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-10 10:09:14 +00:00
LibGfx: Serialize unicode-ranges in uppercase
This matches the behavior of other browsers.
This commit is contained in:
parent
1e132d9f87
commit
3288c71953
Notes:
github-actions[bot]
2025-04-07 09:02:00 +00:00
Author: https://github.com/AtkinsSJ
Commit: 3288c71953
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4224
1 changed files with 2 additions and 2 deletions
|
@ -31,8 +31,8 @@ public:
|
||||||
String to_string() const
|
String to_string() const
|
||||||
{
|
{
|
||||||
if (m_min_code_point == m_max_code_point)
|
if (m_min_code_point == m_max_code_point)
|
||||||
return MUST(String::formatted("U+{:x}", m_min_code_point));
|
return MUST(String::formatted("U+{:X}", m_min_code_point));
|
||||||
return MUST(String::formatted("U+{:x}-{:x}", m_min_code_point, m_max_code_point));
|
return MUST(String::formatted("U+{:X}-{:X}", m_min_code_point, m_max_code_point));
|
||||||
}
|
}
|
||||||
|
|
||||||
bool operator==(UnicodeRange const& other) const
|
bool operator==(UnicodeRange const& other) const
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue