示例#1
0
int TextConsole::move_string(RowPtr dest, RowPtr src, int len) {
    int dlen = len; // const int arg

    //	func("move string");

    // insert the string in destination
    dlen = dest->insert_string( &src->text[ src->pos ], dlen );

    // delete the string from the source
    dlen = src->delete_string( dlen );

    return dlen;
}