From 01fb8d5a786e6aa9e19c26f74f819fb917f2402f Mon Sep 17 00:00:00 2001 From: Jim Warner Date: Wed, 27 Sep 2017 00:01: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 948805e4..6c0b2ca1 100644 --- a/top/top.c +++ b/top/top.c @@ -4434,7 +4434,7 @@ static void keys_global (int ch) { else { int val, def = w->ppt[w->begtask]->tid, - 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));