diff --git a/platform-independent/c/core/src/mpw-algorithm.c b/platform-independent/c/core/src/mpw-algorithm.c index b6b8ac53..d9db705f 100644 --- a/platform-independent/c/core/src/mpw-algorithm.c +++ b/platform-independent/c/core/src/mpw-algorithm.c @@ -210,7 +210,7 @@ MPIdenticon mpw_identicon(const char *fullName, const char *masterPassword) { .body = "", .rightArm = "", .accessory = "", - .color=0, + .color = 0, }; MPIdenticon identicon = { diff --git a/platform-independent/c/core/src/mpw-types.h b/platform-independent/c/core/src/mpw-types.h index a6b2a32b..ed67f593 100644 --- a/platform-independent/c/core/src/mpw-types.h +++ b/platform-independent/c/core/src/mpw-types.h @@ -107,7 +107,8 @@ typedef mpw_enum ( uint32_t, MPCounterValue ) { /** These colours are compatible with the original ANSI SGR. */ typedef mpw_enum( uint8_t, MPIdenticonColor ) { - MPIdenticonColorRed = 1, + MPIdenticonColorBlack, + MPIdenticonColorRed, MPIdenticonColorGreen, MPIdenticonColorYellow, MPIdenticonColorBlue,