Fixed background color for identicons.
the build was successful Details

It was 2 characters too short. That resulted in an error.
This commit is contained in:
tastytea 2019-02-28 18:22:52 +01:00
parent 97099f0a8a
commit 00a29894e9
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 2 additions and 3 deletions

View File

@ -88,8 +88,7 @@ int main()
avatar.fallback.substr(0, 2) == "mm") avatar.fallback.substr(0, 2) == "mm")
{ {
// MD5 hash of 'mp' // MD5 hash of 'mp'
image = image::get("1f2dfa567dcf95833eddf7aec167fec7", image = image::get("1f2dfa567dcf95833eddf7aec167fec7", avatar.size);
avatar.size);
if (image.error == 0) if (image.error == 0)
{ {
image::write(image); image::write(image);
@ -117,7 +116,7 @@ int main()
} }
Identiconpp identicon(5, 5, Identiconpp::algorithm::sigil, Identiconpp identicon(5, 5, Identiconpp::algorithm::sigil,
"#fefefe", "fefefeff",
{ // The same colors ivatar uses. { // The same colors ivatar uses.
"2d4fffff", // Blue "2d4fffff", // Blue
"feb42cff", // Yellow "feb42cff", // Yellow