From ac2817613b06cde7cdb6b766a4a9e45724a67396 Mon Sep 17 00:00:00 2001 From: Chris Cummer Date: Sat, 21 Dec 2019 07:58:58 -0800 Subject: [PATCH] Fix a spelling mistake in a comment: Signed-off-by: Chris Cummer --- utils/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/utils.go b/utils/utils.go index 9caaec10..2907d106 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -142,7 +142,7 @@ func ParseJSON(obj interface{}, text io.Reader) error { return d.Decode(obj) } -// CalculateDimensions reads the module dimensions from the module and global config. The border is already substracted. +// CalculateDimensions reads the module dimensions from the module and global config. The border is already subtracted. func CalculateDimensions(moduleConfig, globalConfig *config.Config) (int, int, error) { grid, err := globalConfig.Get("wtf.grid") if err != nil {