From ba823bb7cd3055832a539de04bea2c8d2a8040e1 Mon Sep 17 00:00:00 2001 From: xolatile Date: Sat, 28 Oct 2023 14:03:26 -0400 Subject: [PATCH] Fixed stupid stdio warning... --- xiasma.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/xiasma.c b/xiasma.c index 3141b7a..8411031 100644 --- a/xiasma.c +++ b/xiasma.c @@ -213,11 +213,17 @@ int main (void) { echo ("' is not a register...\n"); exit (EXIT_FAILURE); } - printf ("\033[1;33m%s\033[0m \033[1;34m%s\033[0m \033[1;35m%s\033[0m", source [i - 2], source [i - 1], source [i]); + echo ("\033[1;33m"); + echo (source [i - 2]); + echo ("\033[0m \033[1;34m"); + echo (source [i - 1]); + echo ("\033[0m \033[1;35m"); + echo (source [i]); + echo ("\033[0m --- "); encode [FORMAT_REGISTER_REGISTER] [buffer [i - 2]] (buffer [i - 2], buffer [i - 1], buffer [i]); data_echo (); data_free (); - printf ("\n"); + echo ("\n"); } return (EXIT_SUCCESS);