diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-10-03 16:11:46 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-10-03 16:12:45 +0200 |
commit | c51366b22c807373018d84afb765429f311c4403 (patch) | |
tree | d0992d7c970e8b9fd31636ebd2331e8f3b4d5641 /Libraries/LibHTML/CSS/StyleValue.h | |
parent | 84ec2860602573fce7002d7f7b97d8481275e317 (diff) | |
download | serenity-c51366b22c807373018d84afb765429f311c4403.zip |
LibHTML: Prettify ColorStyleValue::to_string() a little bit
I don't know why I made this say "COLOR: #rrggbbaa" when it can also
just say "#rrggbbaa" :^)
Diffstat (limited to 'Libraries/LibHTML/CSS/StyleValue.h')
-rw-r--r-- | Libraries/LibHTML/CSS/StyleValue.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibHTML/CSS/StyleValue.h b/Libraries/LibHTML/CSS/StyleValue.h index 5dd8e2cc1c..240acf15cf 100644 --- a/Libraries/LibHTML/CSS/StyleValue.h +++ b/Libraries/LibHTML/CSS/StyleValue.h @@ -121,7 +121,7 @@ public: virtual ~ColorStyleValue() override {} Color color() const { return m_color; } - String to_string() const override { return String::format("COLOR: %s", m_color.to_string().characters()); } + String to_string() const override { return m_color.to_string(); } Color to_color() const override { return m_color; } private: |