aboutsummaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorMarvin Borner2020-09-06 00:02:41 +0200
committerMarvin Borner2020-09-06 00:02:41 +0200
commitc0608f199fc711aa82867f80059dfeebf38b4a25 (patch)
tree2495344b5910bf5f1c2977fc829b715ca320ffb3 /apps
parentb00d78697723eb3930a40125c02d328548946206 (diff)
Fixed GPF on non-existent exec
Diffstat (limited to 'apps')
-rw-r--r--apps/init.c1
-rw-r--r--apps/mandelbrot.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/apps/init.c b/apps/init.c
index 01eb47d..ba6f93e 100644
--- a/apps/init.c
+++ b/apps/init.c
@@ -9,7 +9,6 @@ int main(int argc, char **argv)
printf("ARGC: %d\n", argc);
printf("[%s loaded]\n", argv[0]);
- // TODO: Fix GPF if file doesn't exist
int wm = exec("/wm", "wm", argv[1], NULL);
/* int test = exec("/window", "test", NULL); */
int mandelbrot = exec("/mandelbrot", "mandelbrot", NULL);
diff --git a/apps/mandelbrot.c b/apps/mandelbrot.c
index a2be040..d5b8ae0 100644
--- a/apps/mandelbrot.c
+++ b/apps/mandelbrot.c
@@ -48,6 +48,7 @@ void draw_mandelbrot(struct window *win, int resolution)
}
}
gui_redraw();
+ print("Rendered mandelbrot successfully\n");
yield();
}