diff options
Diffstat (limited to 'knights/proto_xboard.cpp')
-rw-r--r-- | knights/proto_xboard.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/knights/proto_xboard.cpp b/knights/proto_xboard.cpp index fc90fca..9bdff6b 100644 --- a/knights/proto_xboard.cpp +++ b/knights/proto_xboard.cpp @@ -390,15 +390,15 @@ void proto_xboard::parse( const TQString &string ) emit output( Command( myID, CMD_Send_SIGINT ) ); /* Illegal */ - if( strList[0].tqcontains( "illegal", FALSE ) ) + if( strList[0].contains( "illegal", FALSE ) ) { if( AcceptIllegal ) { - if( strIn.tqcontains("(no matching move)board") ) + if( strIn.contains("(no matching move)board") ) return; - if( strIn.tqcontains("(no matching move)protover") ) + if( strIn.contains("(no matching move)protover") ) return; - if( strIn.tqcontains("(no matching move)sd") ) + if( strIn.contains("(no matching move)sd") ) return; AcceptIllegal = FALSE; emit output( Command( myID, CMD_Illegal ) ); @@ -428,7 +428,7 @@ void proto_xboard::parse( const TQString &string ) } /* A Move ( Old Variation ) */ - if( ( strList[0].tqcontains( TQRegExp("\\d+\\.") ) ) && ( strList[1] == "..." ) ) + if( ( strList[0].contains( TQRegExp("\\d+\\.") ) ) && ( strList[1] == "..." ) ) { Command::clearMove( &myMove ); strcpy( myMove.SAN, strList[2].latin1() ); @@ -522,7 +522,7 @@ void proto_xboard::parse( const TQString &string ) } /* Resign */ - if( strIn.tqcontains( "resign", FALSE ) ) + if( strIn.contains( "resign", FALSE ) ) { if( Army == WHITE ) emit output( Command( myID, CMD_White_Resign ) ); |