Patch: Elm ME+ 2.5 PLalpha62 -> Elm ME+ 2.5 PLalpha63 [3/7] (4/5)
From
Kari Hurtta@21:1/5 to
All on Wed Jan 3 13:51:40 2024
[continued from previous message]
+ /* ch is assumed to be with charset s->filter */
+
if (!s->filter_line) {
state_force_filter_line0(s);
} else
***************
*** 1013,1019 ****
! if (need_conversion || s->filter_line || s->filter || use_filter || s->pg_flags || s->pager_range) {
struct string * temp;
int l;
--- 1246,1253 ----
! if (need_conversion || s->filter_line || s->filter || use_filter ||
! s->pg_flags || s->pager_range) {
struct string * temp;
int l;
***************
*** 1104,1110 ****
free(str);
}
-
DPRINT(DebugIO,30,(&DebugIO,
"state_printf=%d\n",
ret));
--- 1338,1343 ----
***************
*** 1268,1273 ****
--- 1501,1564 ----
}
/* Allocates new struct pager_range */
+ struct pager_range * state_add_opcode_pager_range(outfile,opcode,inherit,
+ range_flags,quote_level,
+ indent)
+ struct out_state * outfile;
+ enum pager_range_opcode opcode;
+ struct pager_range *inherit;
+ int range_flags;
+ int quote_level;
+ int indent;
+ {
+ struct pager_range * ret = NULL;
+
+ if (STATE_out_magic != outfile->magic)
+ state_panic(__FILE__,__LINE__,"state_add_opcode_pager_range",
+ "Bad magic number");
+
+ ret = malloc_simple_pager_range(inherit,range_f