aboutsummaryrefslogtreecommitdiff
path: root/content/notes
diff options
context:
space:
mode:
Diffstat (limited to 'content/notes')
-rw-r--r--content/notes/drawing-pixels-in-plan9.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/notes/drawing-pixels-in-plan9.md b/content/notes/drawing-pixels-in-plan9.md
index 75367f2..23b0cef 100644
--- a/content/notes/drawing-pixels-in-plan9.md
+++ b/content/notes/drawing-pixels-in-plan9.md
@@ -45,9 +45,9 @@ main()
45 im = allocimage(display, Rect(0, 0, 300, 300), RGB24, 0, DYellow); 45 im = allocimage(display, Rect(0, 0, 300, 300), RGB24, 0, DYellow);
46 bg = allocimage(display, Rect(0, 0, 1, 1), RGB24, 1, co); 46 bg = allocimage(display, Rect(0, 0, 1, 1), RGB24, 1, co);
47 47
48 if (im1 == nil || bg == nil) 48 if (im == nil || bg == nil)
49 { 49 {
50 sysfatal("get more memory, bub"); 50 sysfatal("not enough memory");
51 } 51 }
52 52
53 draw(screen, screen->r, bg, nil, ZP); 53 draw(screen, screen->r, bg, nil, ZP);