Fixes Success/Failure colors in Appearance
* Fixes the mapping function index_to_color_which * Fixes #13073
This commit is contained in:
@@ -45,7 +45,7 @@ index_to_color_which(int32 index)
|
|||||||
return (color_which)(index + 1);
|
return (color_which)(index + 1);
|
||||||
else {
|
else {
|
||||||
return (color_which)(index + B_SUCCESS_COLOR
|
return (color_which)(index + B_SUCCESS_COLOR
|
||||||
- kColorWhichCount - 3);
|
- kColorWhichCount + 3);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user