From: Ian Jackson Date: Sat, 27 Feb 2021 11:08:44 +0000 (+0000) Subject: hidden: a todo X-Git-Tag: otter-0.4.0~327 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=62ca0366c3d202624fdf1ca67cf0809aad5ee749;p=otter.git hidden: a todo Signed-off-by: Ian Jackson --- diff --git a/src/hidden.rs b/src/hidden.rs index cc8e9d0f..173fc000 100644 --- a/src/hidden.rs +++ b/src/hidden.rs @@ -349,7 +349,7 @@ fn recalculate_occultation_general< log_visible } OccK::Scrambled | OccK::Displaced{..} => { - let face = ipc.nfaces() - 1; + let face = ipc.nfaces() - 1; // xxx use other thing entirely let show = ipc.describe_html(Some(face.into()), gpc)?; call_log_callback(Some(&show))? },