* hack to compare rgb_colors so that the translator can be compiled
for BeOS, adjusted Jamfile accordingly git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19191 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
SubDir HAIKU_TOP src add-ons translators rtf ;
|
||||
|
||||
SetSubDirSupportedPlatformsBeOSCompatible ;
|
||||
|
||||
# Include code from shared translator directory
|
||||
SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src add-ons translators shared ] ;
|
||||
|
||||
|
||||
@@ -259,7 +259,7 @@ text_runs_are_equal(text_run *a, text_run *b)
|
||||
return false;
|
||||
|
||||
return a->offset == b->offset
|
||||
&& a->color == b->color
|
||||
&& *(uint32*)&a->color == *(uint32*)&b->color
|
||||
&& a->font == b->font;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user