Fix possible segfault in X backend
This commit is contained in:
@@ -44,7 +44,7 @@ func main () {
|
||||
}
|
||||
|
||||
func redraw () {
|
||||
text :="RAINBOW :D"
|
||||
text := "RAINBOW :D"
|
||||
width, height := application.Size()
|
||||
|
||||
application.Dot.X = (width - len(text)) / 2
|
||||
|
||||
Reference in New Issue
Block a user