[vlc-devel] commit: quartztext: fix [f0d84d019c8c240c47672b82be123dc979b8d09e]. white is not block (Derk-Jan Hartman )

git version control git at videolan.org
Wed Sep 17 03:58:43 CEST 2008


vlc | branch: master | Derk-Jan Hartman <hartman at videolan.org> | Wed Sep 17 04:01:36 2008 +0200| [e096835fb7316cb8799588beff6491fa14a9e483] | committer: Derk-Jan Hartman 

quartztext: fix [f0d84d019c8c240c47672b82be123dc979b8d09e]. white is not block

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e096835fb7316cb8799588beff6491fa14a9e483
---

 modules/misc/quartztext.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/misc/quartztext.c b/modules/misc/quartztext.c
index 71a4bde..382cd8a 100644
--- a/modules/misc/quartztext.c
+++ b/modules/misc/quartztext.c
@@ -1234,7 +1234,7 @@ static offscreen_bitmap_t *Compose( int i_text_align, UniChar *psz_utf16_str, ui
             CGContextSetRGBStrokeColor( p_context, 0, 0, 0, 0.5 );
             CGContextSetTextDrawingMode( p_context, kCGTextFillStroke );
             CGContextSetShadow( p_context, CGSizeMake( 0, 0 ), 5 );
-            float black_components[4] = {1, 1, 1, 1};
+            float black_components[4] = {0, 0, 0, 1};
             CGContextSetShadowWithColor (p_context, CGSizeMake( 0, 0 ), 5, CGColorCreate( kCGColorSpaceGenericRGB, black_components ));
             do
             {




More information about the vlc-devel mailing list