src/pspg.c
static void
MergeScrDesc(ScrDesc *new, ScrDesc *old)
{
	memcpy(new->searchterm, old->searchterm, 255);
	new->searchterm_char_size = old->searchterm_char_size;
	new->searchterm_size = old->searchterm_size;

	new->search_first_row = old->search_first_row;
	new->search_rows = old->search_rows;
	new->search_first_column = old->search_first_column;
	new->search_columns = old->search_columns;
	new->search_selected_mode = old->search_selected_mode;

	memcpy(new->searchcolterm, old->searchcolterm, 255);
	new->searchcolterm_size = old->searchcolterm_size;

	new->has_upperchr = old->has_upperchr;
	new->found = old->found;
	new->found_start_x = old->found_start_x;
	new->found_start_bytes = old->found_start_bytes;
	new->found_row = old->found_row;

	new->selected_first_row = old->selected_first_row;
	new->selected_rows = old->selected_rows;
	new->selected_first_column = old->selected_first_column;
	new->selected_columns = old->selected_columns;
}
/*
 * Copy persistent data (search related and info box related)
 * to new instance.
 */
Copy persistent data (search related and info box related)
to new instance.
Copy persistent data ( search related and info box related ) to new instance .
static void
MergeScrDesc(ScrDesc *new, ScrDesc *old)
{
	memcpy(new->searchterm, old->searchterm, 255);
	new->searchterm_char_size = old->searchterm_char_size;
	new->searchterm_size = old->searchterm_size;
	new->search_first_row = old->search_first_row;
	new->search_rows = old->search_rows;
	new->search_first_column = old->search_first_column;
	new->search_columns = old->search_columns;
	new->search_selected_mode = old->search_selected_mode;
	memcpy(new->searchcolterm, old->searchcolterm, 255);
	new->searchcolterm_size = old->searchcolterm_size;
	new->has_upperchr = old->has_upperchr;
	new->found = old->found;
	new->found_start_x = old->found_start_x;
	new->found_start_bytes = old->found_start_bytes;
	new->found_row = old->found_row;
	new->selected_first_row = old->selected_first_row;
	new->selected_rows = old->selected_rows;
	new->selected_first_column = old->selected_first_column;
	new->selected_columns = old->selected_columns;
}
static void MergeScrDesc ( ScrDesc * new , ScrDesc * old ) { memcpy ( new -> searchterm , old -> searchterm , 255 ) ; new -> searchterm_char_size = old -> searchterm_char_size ; new -> searchterm_size = old -> searchterm_size ; new -> search_first_row = old -> search_first_row ; new -> search_rows = old -> search_rows ; new -> search_first_column = old -> search_first_column ; new -> search_columns = old -> search_columns ; new -> search_selected_mode = old -> search_selected_mode ; memcpy ( new -> searchcolterm , old -> searchcolterm , 255 ) ; new -> searchcolterm_size = old -> searchcolterm_size ; new -> has_upperchr = old -> has_upperchr ; new -> found = old -> found ; new -> found_start_x = old -> found_start_x ; new -> found_start_bytes = old -> found_start_bytes ; new -> found_row = old -> found_row ; new -> selected_first_row = old -> selected_first_row ; new -> selected_rows = old -> selected_rows ; new -> selected_first_column = old -> selected_first_column ; new -> selected_columns = old -> selected_columns ; }
Copy persistent data (search related and info box related)
 to new instance.
Copy persistent data ( search related and info box related ) to new instance .