From 5348e110156275386944efed102dc07b5599b0e6 Mon Sep 17 00:00:00 2001 From: ubuntu201711081 <201711081@jbnu.ac.kr> Date: Tue, 8 Dec 2020 14:37:10 +0000 Subject: [PATCH] fix MAX_TERMINAL_ROW --- README.md | 2 +- display_bar.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3dd679e..36dfa05 100644 --- a/README.md +++ b/README.md @@ -41,5 +41,5 @@ For client For both - TIMEOUT: 5(second unit) -- MAX_TERMINAL_ROW +- DEFAULT_MAX_TERMINAL_ROW: 1000 - DEFAULT_PROGRESS_BAR_WIDTH: 30 \ No newline at end of file diff --git a/display_bar.c b/display_bar.c index 87d3389..2af79dd 100644 --- a/display_bar.c +++ b/display_bar.c @@ -19,7 +19,7 @@ enum{ #ifndef DEFAULT_MAX_TERMINAL_ROW MAX_TERMINAL_ROW = 1000, #else - MAX_TERMINAL_ROW = MAX_TERMINAL_ROW; + MAX_TERMINAL_ROW = DEFAULT_MAX_TERMINAL_ROW; #endif };