#ifndef DRD64_HEADER_DRCC_CONFIG
#define DRD64_HEADER_DRCC_CONFIG
-#define DEBUG_TEXTINFO_OUTPUT 0x01
+#define DEBUG_TEXTINFO_OUTPUT 0x00
/* Output TextData for Console if this value isn't 0x00 when run test_drcc program.*/
DWord dw_expandsize;
Drd64_DrCC_LineInfo *p_line;
Drd64_DrCC_LineInfo *p_tmp;
- DWord dw_line;
- DWord dw_tmp;
assert( NULL != p_tinfo );
i_element = DrCC_EditText_Line_CalcSortChainElement( dw_linelen );
p_tmp = NULL;
- //p_line = p_tinfo->p_empty[i_element];
p_line = LINFO(p_tinfo, p_tinfo->dw_empty[i_element]);
if( NULL != p_line ) {
do {
}
if( NULL == p_line ) {
- //p_line = p_tinfo->p_empty[0];
p_line = LINFO(p_tinfo, p_tinfo->dw_empty[0]);
if( NULL == p_line ) { return NULL; }
- //p_tinfo->p_empty[0] = LINFO(p_tinfo, p_line->dw_sortnext);
p_tinfo->dw_empty[0] = p_line->dw_sortnext;
p_line->dw_start = p_tinfo->dw_lastsize;
p_tinfo->dw_lastsize += dw_linelen;
}
else {
- if( NULL != p_tmp ) {
- p_tmp->dw_sortnext = p_line->dw_sortnext;
- }
- else {
- //p_tinfo->p_empty[i_element] = LINFO(p_tinfo, p_line->dw_sortnext);
- p_tinfo->dw_empty[i_element] = p_line->dw_sortnext;
- }
+ if( NULL != p_tmp )
+ { p_tmp->dw_sortnext = p_line->dw_sortnext; }
+ else
+ { p_tinfo->dw_empty[i_element] = p_line->dw_sortnext; }
}
p_line->dw_strlen = 0;
i_element = DrCC_EditText_Line_CalcSortChainElement( p_line->dw_linelen );
- //p_sort = p_tinfo->p_empty[i_element];
p_sort = LINFO(p_tinfo, p_tinfo->dw_empty[i_element]);
if( NULL == p_sort ) {
- //p_tinfo->p_empty[i_element] = p_line;
p_tinfo->dw_empty[i_element] = p_line->dw_id;
p_line->dw_sortnext = INVALID_LINE;
return 0x00;