diff options
author | Matthias Hopf <mat@mshopf.de> | 2007-01-18 11:57:16 +0000 |
---|---|---|
committer | Matthias Hopf <mat@mshopf.de> | 2007-01-18 11:57:16 +0000 |
commit | c859b8ced3df97eb2c6f09213062449569510f7a (patch) | |
tree | 79f6fcbb89b4b10aa7d65f0af481b3ebd8b349c8 | |
parent | 0ac4228e8f8f315f7dc8e7e33ca943b41119c5b6 (diff) | |
download | xine-lib-c859b8ced3df97eb2c6f09213062449569510f7a.tar.gz xine-lib-c859b8ced3df97eb2c6f09213062449569510f7a.tar.bz2 |
Fix comparing char* pointer with a string literal.
CVS patchset: 8515
CVS date: 2007/01/18 11:57:16
-rw-r--r-- | src/libsputext/demux_sputext.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsputext/demux_sputext.c b/src/libsputext/demux_sputext.c index db0b826de..13fbd1db1 100644 --- a/src/libsputext/demux_sputext.c +++ b/src/libsputext/demux_sputext.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: demux_sputext.c,v 1.50 2006/12/08 16:26:10 mshopf Exp $ + * $Id: demux_sputext.c,v 1.51 2007/01/18 11:57:16 mshopf Exp $ * * code based on old libsputext/xine_decoder.c * @@ -727,7 +727,7 @@ static subtitle_t *sub_read_line_aqt (demux_sputext_t *this, subtitle_t *current sub_readtext((char *) &line,¤t->text[1]); current->lines = 2; - if ((current->text[0]=="") && (current->text[1]=="")) { + if ((current->text[0][0]==0) && (current->text[1][0]==0)) { return NULL; } |