top: miscellaneous cosmetic non-logic changes
Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
parent
0c874637ee
commit
b079d130d7
@ -461,10 +461,10 @@ static void bye_bye (const char *str) {
|
||||
|
||||
if (str) {
|
||||
fputs(str, stderr);
|
||||
exit(1);
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
putp("\n");
|
||||
exit(0);
|
||||
exit(EXIT_SUCCESS);
|
||||
} // end: bye_bye
|
||||
|
||||
|
||||
@ -2566,7 +2566,7 @@ static WIN_t *win_select (char ch) {
|
||||
so we must try to get our own darn ch by begging the user... */
|
||||
if (!ch) {
|
||||
show_pmt(N_txt(CHOOSE_group_txt));
|
||||
if (1 > chin(0, (char *)&ch, 1)) return Curwin;
|
||||
if (1 > chin(0, (char *)&ch, 1)) return w;
|
||||
}
|
||||
switch (ch) {
|
||||
case 'a': // we don't carry 'a' / 'w' in our
|
||||
@ -2796,7 +2796,7 @@ static void file_writerc (void) {
|
||||
|
||||
#ifndef WARN_CFG_OFF
|
||||
if (Rc_converted) {
|
||||
show_pmt(N_fmt(XTRA_warncfg_txt));
|
||||
show_pmt(N_txt(XTRA_warncfg_txt));
|
||||
if ('y' != tolower(keyin(0)))
|
||||
return;
|
||||
Rc_converted = 0;
|
||||
|
@ -277,7 +277,7 @@ typedef struct CPU_t {
|
||||
#define Show_FOREST 0x000002 // 'V' - show cmd/cmdlines with ascii art
|
||||
#define Qsrt_NORMAL 0x000004 // 'R' - reversed column sort (high to low)
|
||||
// these flag(s) have no command as such - they're for internal use
|
||||
#define EQUWINS_xxx 0x000001 // rebalance all wins & tasks (off 'i'/ 'n')
|
||||
#define EQUWINS_xxx 0x000001 // rebalance all wins & tasks (off i,n,u/U)
|
||||
|
||||
// Default flags if there's no rcfile to provide user customizations
|
||||
#define DEF_WINFLGS ( View_LOADAV | View_STATES | View_CPUSUM | View_MEMORY \
|
||||
|
Loading…
Reference in New Issue
Block a user