summaryrefslogtreecommitdiffstats
path: root/widgets/temp.go
diff options
context:
space:
mode:
authorSean E. Russell <seanerussell@gmail.com>2020-02-13 12:12:40 -0600
committerSean E. Russell <seanerussell@gmail.com>2020-02-13 12:12:40 -0600
commit0932e3c3d09245a4c8796ac5258a913d79c24c8d (patch)
tree245c64705240ac57bbfb99e90330f285e62459bd /widgets/temp.go
parentb60451ea2de99c6c1c6d9b10e20792dd83f9b424 (diff)
parentad8060510a3fc411927e6437b93093f1f0b5880a (diff)
Merge remote-tracking branch 'howjmay/fix_typo'
Diffstat (limited to 'widgets/temp.go')
-rw-r--r--widgets/temp.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/temp.go b/widgets/temp.go
index dea5430..6d49365 100644
--- a/widgets/temp.go
+++ b/widgets/temp.go
@@ -14,7 +14,7 @@ import (
type TempScale int
const (
- Celcius TempScale = 0
+ Celsius TempScale = 0
Fahrenheit = 1
Disabled = 2
)
@@ -91,7 +91,7 @@ func (self *TempWidget) Draw(buf *ui.Buffer) {
ui.NewStyle(fg),
image.Pt(self.Inner.Max.X-4, self.Inner.Min.Y+y),
)
- case Celcius:
+ case Celsius:
buf.SetString(
fmt.Sprintf("%3dC", self.Data[key]),
ui.NewStyle(fg),