From 0a27b5d132f305ba217cffa352aa71827fb7513c Mon Sep 17 00:00:00 2001 From: albert <> Date: Wed, 4 Dec 2002 03:34:05 +0000 Subject: [PATCH] a bit nicer --- top.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/top.c b/top.c index d19b8042..515ddf40 100644 --- a/top.c +++ b/top.c @@ -1260,12 +1260,9 @@ static int read_config_rik (const char * const fbuf, ssize_t num, RCF_t * const if(c=='|') continue; // Rik's top ships with a garbage character if(c=='[') c='Y'; // Rik's top ships with 3x of "#C" if(c=='{') c='y'; // another one... and '}' to please Jim's editor - if(c=='n') continue; // unimplemented - if(c=='N') continue; // unimplemented - if(c=='q') continue; // unimplemented - if(c=='Q') continue; // unimplemented - if(c=='r') continue; // unimplemented - if(c=='R') continue; // unimplemented + if(c=='N') c='n'; // usage differs, so turn this off + if(c=='Q') c='q'; // usage differs, so turn this off + if(c=='R') c='r'; // usage differs, so turn this off c = rik_to_jim(c); if(!c) return -4; // error value if(c=='.') return -5; // error value