1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Fix a spelling mistake in a comment:

Signed-off-by: Chris Cummer <chriscummer@me.com>
This commit is contained in:
Chris Cummer 2019-12-21 07:58:58 -08:00
parent e1d4e60216
commit ac2817613b

View File

@ -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 {