aboutsummaryrefslogtreecommitdiffstats
path: root/initrd
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2018-03-22 20:08:32 -0400
committerClyne Sullivan <tullivan99@gmail.com>2018-03-22 20:08:32 -0400
commit5c5c93db40c6412fb46a09383640db01b4c6db4e (patch)
tree90ea8d08cdf01ab060de0edd87fe7087d36925be /initrd
parent8275c9cac1e610c00bb4a9af3c9f41dcd783c8a7 (diff)
more fixy fixy
Diffstat (limited to 'initrd')
-rw-r--r--initrd/init6
1 files changed, 3 insertions, 3 deletions
diff --git a/initrd/init b/initrd/init
index 3379d81..a218474 100644
--- a/initrd/init
+++ b/initrd/init
@@ -20,7 +20,7 @@ mlines = color(3, 3, 3)
func(makegrid) {
rect(plotx, ploty, plotw, ploth, 0)
- x = plotx
+ x = plotx
while (x <= plotx + plotw) {
line(x, ploty, x, ploty + ploth, mlines)
x = x + xinc
@@ -40,7 +40,7 @@ func(makegrid) {
# BIG LOOP - ask for equ, graph it
#
-makegrid()
+makegrid
clearcmd = "clear"
while (1) {
rect(0, 0, 480, 40, 0)
@@ -48,7 +48,7 @@ while (1) {
Fx = gets()
if (Fx == clearcmd) {
- makegrid()
+ makegrid
} else {
# do function
x = xmin