From 1392134510902d99354d15ec40ae6a5660f0a2f1 Mon Sep 17 00:00:00 2001 From: xolatile Date: Wed, 4 Oct 2023 15:13:28 -0400 Subject: [PATCH] Nothing much to do here for now... --- install.sh | 2 ++ xlesses.c | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index a05cff1..8b5536c 100644 --- a/install.sh +++ b/install.sh @@ -2,6 +2,8 @@ set -xe +mkdir /usr/include/xolatile + cp xlesses.h /usr/include/xolatile/xlesses.h cp xlesses.c /usr/include/xolatile/xlesses.c diff --git a/xlesses.c b/xlesses.c index 5f395c8..fdb5bd1 100644 --- a/xlesses.c +++ b/xlesses.c @@ -74,7 +74,7 @@ void blesses_initialize (void) { blesses_sub_framebuffer = allocate (blesses_window_width * blesses_window_height * (int) sizeof (* blesses_sub_framebuffer)); blesses_framebuffer = allocate (blesses_window_width * blesses_window_height * (int) sizeof (* blesses_framebuffer)); - log_out (); + log_out ("./blesses.log"); } void blesses_deinitialize (void) { @@ -142,7 +142,7 @@ void blesses_synchronize (void) { blesses_framebuffer = allocate (blesses_window_width * blesses_window_height * (int) sizeof (* blesses_framebuffer)); } - log_out (); + log_out ("./blesses.log"); } void blesses_render_background_colour (int colour) { @@ -191,7 +191,7 @@ void blesses_render_character (char character, int x, int y, int foreground, int blesses_sub_framebuffer [u * (blesses_window_width/* / 2*/) + v] = ((font_code [(int) (character - ' ')] >> offset) % 2) ? foreground : background; } - log_out (); + log_out ("./blesses.log"); } void blesses_render_string_limit (char * string, int limit, int * x, int * y, int foreground, int background) {