Commit 2d68f9c1 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* another proof that the copy command in IE for Mac sucks. stupid stray chars.

parent dc35ed34
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* controls.m: MacOS X interface plugin * controls.m: MacOS X interface plugin
***************************************************************************** *****************************************************************************
* Copyright (C) 2002 VideoLAN * Copyright (C) 2002 VideoLAN
* $Id: controls.m,v 1.26 2003/02/10 00:16:51 hartman Exp $ * $Id: controls.m,v 1.27 2003/02/10 00:41:45 hartman Exp $
* *
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net> * Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Christophe Massiot <massiot@via.ecp.fr> * Christophe Massiot <massiot@via.ecp.fr>
...@@ -435,7 +435,7 @@ ...@@ -435,7 +435,7 @@
{ {
config_PutPsz( p_intf, "filter", "deinterlace" ); config_PutPsz( p_intf, "filter", "deinterlace" );
config_PutPsz( p_intf, "deinterlace-mode", config_PutPsz( p_intf, "deinterlace-mode",
[[sender title] lossyCString] ); [[sender title] lossyCString] );
} }
else else
{ {
...@@ -765,33 +765,33 @@ ...@@ -765,33 +765,33 @@
else if( o_menu != nil && else if( o_menu != nil &&
[[o_menu title] isEqualToString: _NS("Deinterlace")] ) [[o_menu title] isEqualToString: _NS("Deinterlace")] )
{ {
char * psz_filter = config_GetPsz( p_intf, "filter" ); char * psz_filter = config_GetPsz( p_intf, "filter" );
if( psz_filter != NULL ) if( psz_filter != NULL )
{ {
free( psz_filter ); free( psz_filter );
psz_filter = config_GetPsz( p_intf, "deinterlace-mode" );
}
if( psz_filter != NULL )
{
if( strcmp( psz_filter, [[o_mi title] lossyCString] ) == 0 )
{
[o_mi setState: NSOnState];
}
else
{
[o_mi setState: NSOffState];
}
free( psz_filter ); psz_filter = config_GetPsz( p_intf, "deinterlace-mode" );
}
else
{
[o_mi setState: NSOffState];
} }
}
if( psz_filter != NULL )
{
if( strcmp( psz_filter, [[o_mi title] lossyCString] ) == 0 )
{
[o_mi setState: NSOnState];
}
else
{
[o_mi setState: NSOffState];
}
free( psz_filter );
}
else
{
[o_mi setState: NSOffState];
}
}
if( p_playlist != NULL ) if( p_playlist != NULL )
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment