By simply overwriting the provided template strings with the default ones a bit later. Here's one possible fix (untested): --- dpv.c.orig 2016-06-16 23:14:00.466195000 +0400 +++ dpv.c 2016-06-16 23:15:39.306944000 +0400 _at__at_ -455,12 +455,16 _at__at_ /* Set status formats and action */ if (line_mode) { - config->status_solo = LINE_STATUS_SOLO; - config->status_many = LINE_STATUS_SOLO; + if (!config->status_solo) + config->status_solo = LINE_STATUS_SOLO; + if (!config->status_many) + config->status_many = LINE_STATUS_SOLO; config->action = operate_on_lines; } else { - config->status_solo = BYTE_STATUS_SOLO; - config->status_many = BYTE_STATUS_SOLO; + if (!config->status_solo) + config->status_solo = BYTE_STATUS_SOLO; + if (!config->status_many) + config->status_many = BYTE_STATUS_SOLO; config->action = operate_on_bytes; }Received on Thu Jun 16 2016 - 17:20:26 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:06 UTC