closes #10
This commit is contained in:
parent
165d946e0d
commit
7442a14a8f
@ -12,7 +12,7 @@ use iced::{
|
||||
},
|
||||
};
|
||||
|
||||
use std::fs::{File, OpenOptions};
|
||||
use std::fs::OpenOptions;
|
||||
use std::io::{BufWriter, Write};
|
||||
use std::{env, fs, path::PathBuf};
|
||||
use texts::*;
|
||||
|
@ -192,7 +192,7 @@ pub fn get(book: &str, chap_and_ver: &str, bible: &Bible) -> Result<String, Stri
|
||||
|
||||
let translation = &bible.translation_name;
|
||||
|
||||
buf += &format!("{style_bold}[{translation}] {style_underline}{book_name}:{start}-{end}{style_reset}:\n");
|
||||
buf += &format!("{style_bold}[{translation}] {style_underline}{book_name} {}:{start}-{end}{style_reset}:\n", chapter.number);
|
||||
for num in start..=end {
|
||||
if let Some(verse) = chapter.get_verse_by_index(num) {
|
||||
buf += &format!(
|
||||
|
Loading…
x
Reference in New Issue
Block a user