10l: comparison of char* ptrs with string literals

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22274 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
faust3 2007-02-19 10:48:50 +00:00
parent 7ac889b796
commit b03678d00a
1 changed files with 2 additions and 2 deletions

View File

@ -747,7 +747,7 @@ static subtitle *sub_read_line_aqt(stream_t *st,subtitle *current) {
} }
current->lines=i+1; current->lines=i+1;
if ((current->text[0]=="") && (current->text[1]=="")) { if (!strlen(current->text[0]) && !strlen(current->text[1])) {
#ifdef USE_SORTSUB #ifdef USE_SORTSUB
previous_sub_end = 0; previous_sub_end = 0;
#else #else
@ -803,7 +803,7 @@ static subtitle *sub_read_line_subrip09(stream_t *st,subtitle *current) {
} }
current->lines=i+1; current->lines=i+1;
if ((current->text[0]=="") && (i==0)) { if (!strlen(current->text[0]) && (i==0)) {
#ifdef USE_SORTSUB #ifdef USE_SORTSUB
previous_sub_end = 0; previous_sub_end = 0;
#else #else