From 10c15ce883ef07cc0ede9862b17520039d63e701 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Sat, 27 May 2023 18:38:07 +0200 Subject: Typo fix --- content/notes/drawing-pixels-in-plan9.md | 4 ++-- 1 file 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() im = allocimage(display, Rect(0, 0, 300, 300), RGB24, 0, DYellow); bg = allocimage(display, Rect(0, 0, 1, 1), RGB24, 1, co); - if (im1 == nil || bg == nil) + if (im == nil || bg == nil) { - sysfatal("get more memory, bub"); + sysfatal("not enough memory"); } draw(screen, screen->r, bg, nil, ZP); -- cgit v1.2.3