diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2023-05-27 18:38:07 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2023-05-27 18:38:07 +0200 |
| commit | 10c15ce883ef07cc0ede9862b17520039d63e701 (patch) | |
| tree | b3cdfd258f2a376a121d12ae5172df465d47bcb0 /content/notes/drawing-pixels-in-plan9.md | |
| parent | 57a65f374297168e826dbcc402eb2aaebcb92fe1 (diff) | |
| download | mitjafelicijan.com-10c15ce883ef07cc0ede9862b17520039d63e701.tar.gz | |
Typo fix
Diffstat (limited to 'content/notes/drawing-pixels-in-plan9.md')
| -rw-r--r-- | content/notes/drawing-pixels-in-plan9.md | 4 |
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); |
