Obviously, just checking for the text color isn't enough.
Also renamed colors to schema since it makes more sense git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37536 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -42,10 +42,14 @@ const color_schema *gPredefinedSchemas[] = {
|
|||||||
|
|
||||||
|
|
||||||
bool
|
bool
|
||||||
color_schema::operator==(const color_schema &color)
|
color_schema::operator==(const color_schema &schema)
|
||||||
{
|
{
|
||||||
if (text_fore_color == color.text_fore_color
|
if (text_fore_color == schema.text_fore_color
|
||||||
&& text_back_color == color.text_back_color)
|
&& text_back_color == schema.text_back_color
|
||||||
|
&& cursor_fore_color == schema.cursor_fore_color
|
||||||
|
&& cursor_back_color == schema.cursor_back_color
|
||||||
|
&& select_fore_color == schema.select_fore_color
|
||||||
|
&& select_back_color == schema.select_back_color)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user