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:
Stefano Ceccherini
2010-07-16 11:56:11 +00:00
parent 80490c776a
commit 72439e2074
+7 -3
View File
@@ -42,10 +42,14 @@ const color_schema *gPredefinedSchemas[] = {
bool
color_schema::operator==(const color_schema &color)
color_schema::operator==(const color_schema &schema)
{
if (text_fore_color == color.text_fore_color
&& text_back_color == color.text_back_color)
if (text_fore_color == schema.text_fore_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 false;