src/pspg.c
void
throw_searching(ScrDesc *scrdesc, DataDesc *desc)
{
	*scrdesc->searchterm = '\0';
	*scrdesc->searchcolterm = '\0';

	scrdesc->searchterm_size = 0;
	scrdesc->searchterm_char_size = 0;

	scrdesc->search_first_row = -1;
	scrdesc->search_rows = 0;
	scrdesc->search_first_column = -1;
	scrdesc->search_columns = 0;
	scrdesc->search_selected_mode = false;

	scrdesc->found = false;

	reset_searching_lineinfo(desc);
}
/*
 * Trivial functions reduce redundant code.
 */
Trivial functions reduce redundant code.
Trivial functions reduce redundant code .
void
throw_searching(ScrDesc *scrdesc, DataDesc *desc)
{
	*scrdesc->searchterm = '\0';
	*scrdesc->searchcolterm = '\0';
	scrdesc->searchterm_size = 0;
	scrdesc->searchterm_char_size = 0;
	scrdesc->search_first_row = -1;
	scrdesc->search_rows = 0;
	scrdesc->search_first_column = -1;
	scrdesc->search_columns = 0;
	scrdesc->search_selected_mode = false;
	scrdesc->found = false;
	reset_searching_lineinfo(desc);
}
void throw_searching ( ScrDesc * scrdesc , DataDesc * desc ) { * scrdesc -> searchterm = ' \0 ' ; * scrdesc -> searchcolterm = ' \0 ' ; scrdesc -> searchterm_size = 0 ; scrdesc -> searchterm_char_size = 0 ; scrdesc -> search_first_row = -1 ; scrdesc -> search_rows = 0 ; scrdesc -> search_first_column = -1 ; scrdesc -> search_columns = 0 ; scrdesc -> search_selected_mode = false ; scrdesc -> found = false ; reset_searching_lineinfo ( desc ) ; }
Trivial functions reduce redundant code.
Trivial functions reduce redundant code .