It was 2 characters too short. That resulted in an error.
This commit is contained in:
parent
97099f0a8a
commit
00a29894e9
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user