generated from PlexSheep/baserepo
This commit is contained in:
parent
f4a7aeaf87
commit
15b1776def
|
@ -139,8 +139,7 @@ pub fn dump(data: &mut dyn DataSource, mut config: HeduConfig) -> Result<()> {
|
||||||
);
|
);
|
||||||
let start_line = config.data_idx;
|
let start_line = config.data_idx;
|
||||||
while config.buf[0] == config.buf[1] && config.len == BYTES_PER_LINE {
|
while config.buf[0] == config.buf[1] && config.len == BYTES_PER_LINE {
|
||||||
rd_data(data, &mut config)?;
|
rd_data(data, &mut config)?; // FIXME: incorrect logic #59
|
||||||
config.data_idx += BYTES_PER_LINE; // FIXME: incorrect logic #59
|
|
||||||
}
|
}
|
||||||
config.display_buf += &format!(
|
config.display_buf += &format!(
|
||||||
"^^^^^^^^ {LINE_SEP_VERT} (repeats {} lines)",
|
"^^^^^^^^ {LINE_SEP_VERT} (repeats {} lines)",
|
||||||
|
|
Reference in New Issue