p_lsrc = LINFO(p_tinfo, p_ldest->dw_next);
assert( NULL != p_lsrc );
-/*
- // Merge Memory data
- if((p_ldest->dw_strlen + p_lsrc->dw_strlen + 5) > p_ldest->dw_linelen ) {
- i_result = LibEditText_LineInfo_ExpandLineBuffer(
- p_tinfo, p_ldest, p_lsrc->dw_linelen );
- if( 0x00 != i_result ) {
- LibBrownie_Error_SetErrorInfo(
- DRD64_ERROR( DRD64_ERROR_PTN_CALLFUNC, 0x01, 0x03 ),
- LOCATION( FUNCID_LibEditText_LineCtrl_JoinLine ),
- errno, (QWord)i_result, (QWord)0x00, __LINE__ );
-
- return -0x03;
- }
- }
-
- pb_src = p_tinfo->pb_text + p_lsrc->dw_start;
- pb_dest = p_tinfo->pb_text + p_ldest->dw_start + p_ldest->dw_strlen;
- if( '\n' == *(pb_dest - 1) ) {
- p_ldest->dw_strlen--;
- pb_dest--;
- }
-
- memcpy( pb_dest, pb_src, p_lsrc->dw_strlen );
- *(pb_dest + p_lsrc->dw_strlen) = '\0';
- p_ldest->dw_strlen += p_lsrc->dw_strlen;
-*/
-
pb_src = p_tinfo->pb_text + p_lsrc->dw_start;
dw_pos = p_ldest->dw_strlen - 1;