From 5a54e66a2eeef156d15825518103248bf2b350bc Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 11 Mar 2021 15:22:41 +0000 Subject: [PATCH] shapelib hidden: Include outline info in OccultData Nothing uses this yet Signed-off-by: Ian Jackson --- src/shapelib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/shapelib.rs b/src/shapelib.rs index 492d4d0d..0df9e823 100644 --- a/src/shapelib.rs +++ b/src/shapelib.rs @@ -53,6 +53,7 @@ struct ItemData { #[derive(Debug,Clone)] struct OccData { item_name: String, + outline: Outline, desc: Html, } @@ -406,6 +407,7 @@ fn load_catalogue(libname: &str, dirname: &str, toml_path: &str) -> Contents { Some(Arc::new(OccData { item_name: subst(&item_name, "_c", &colour)?, desc: Html(subst(&fe.desc.0, "_colour", "")?), + outline: outline.clone(), })) }, }; -- 2.30.2