From 6309da6aee9fc3a424535399da058a2620b67592 Mon Sep 17 00:00:00 2001 From: xolatile Date: Mon, 11 Dec 2023 19:51:56 -0500 Subject: [PATCH] Changed C version... --- compile.sh | 6 ++++++ xscii.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/compile.sh b/compile.sh index 3712b69..0c0a53f 100644 --- a/compile.sh +++ b/compile.sh @@ -4,4 +4,10 @@ set -xe gcc -g -ansi -Wall -Wextra -Wpedantic -Werror -Ofast -o xscii xscii.c +# clang -o xscii xscii.c +# tcc -o xscii xscii.c +# flang -o xscii xscii.f90 +# gfortran -o xscii xscii.f90 +# gnatmake -o xscii xscii.adb + exit diff --git a/xscii.c b/xscii.c index c279b19..e6a0eb9 100644 --- a/xscii.c +++ b/xscii.c @@ -93,7 +93,7 @@ static void echo_name (int character, int colour, int effect) { echo (name [character]); - out (" ", 40 - string_length (name [character])); + out (" ", 24 - string_length (name [character])); terminal_cancel (); }