From 07530a86ef264d78fa432612dadcf9e426a5a3cb Mon Sep 17 00:00:00 2001 From: Jim Warner Date: Thu, 28 Sep 2017 00:11:11 -0500 Subject: [PATCH] top: correct a minor instance of wrong NLS macro usage The 'N_fmt' and 'N_txt' macros are interchangeable and just highlight the 2 str types found in Norm_nlstable. The change in this patch (strictly cosmetic) was found during the coding for what will be the next 2 commits. It has not been squashed into either of those so as to not muddy up the waters for what was a major refactor. Signed-off-by: Jim Warner --- top/top.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/top/top.c b/top/top.c index 2439b8b3..cacee284 100644 --- a/top/top.c +++ b/top/top.c @@ -4004,7 +4004,7 @@ static void keys_global (int ch) { else { int val, def = PID_VAL(EU_PID, s_int, w->ppt[w->begtask]), - pid = get_int(fmtmk(N_txt(GET_pid2nice_fmt), def)); + pid = get_int(fmtmk(N_fmt(GET_pid2nice_fmt), def)); if (pid > GET_NUM_ESC) { if (pid == GET_NUM_NOT) pid = def; val = get_int(fmtmk(N_fmt(GET_nice_num_fmt), pid));