From 98bbfb3883ff99966e3c4bf99c5aaae6d7163642 Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Mon, 7 Apr 2025 15:05:06 -0700 Subject: use putchar to print one char --- remote_plot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'remote_plot.c') diff --git a/remote_plot.c b/remote_plot.c index 9355885..60930ec 100644 --- a/remote_plot.c +++ b/remote_plot.c @@ -318,11 +318,11 @@ static void print_data (GtkWidget *widget, gpointer user_data) printf("t:"); for(int i=0;it[i]); - printf("\n"); + putchar('\n'); printf("buffer:"); for(int i=0;ibuffer[i]); - printf("\n"); + putchar('\n'); } static void activate (GtkApplication *app, gpointer user_data) -- cgit v1.2.3-70-g09d2