closes #10
This commit is contained in:
		@@ -12,7 +12,7 @@ use iced::{
 | 
				
			|||||||
    },
 | 
					    },
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
use std::fs::{File, OpenOptions};
 | 
					use std::fs::OpenOptions;
 | 
				
			||||||
use std::io::{BufWriter, Write};
 | 
					use std::io::{BufWriter, Write};
 | 
				
			||||||
use std::{env, fs, path::PathBuf};
 | 
					use std::{env, fs, path::PathBuf};
 | 
				
			||||||
use texts::*;
 | 
					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;
 | 
					                        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 {
 | 
					                        for num in start..=end {
 | 
				
			||||||
                            if let Some(verse) = chapter.get_verse_by_index(num) {
 | 
					                            if let Some(verse) = chapter.get_verse_by_index(num) {
 | 
				
			||||||
                                buf += &format!(
 | 
					                                buf += &format!(
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user