projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tmp
[apps/madmutt.git]
/
lib-ui
/
curs_lib.c
diff --git
a/lib-ui/curs_lib.c
b/lib-ui/curs_lib.c
index
cfdba38
..
5e16f4d
100644
(file)
--- a/
lib-ui/curs_lib.c
+++ b/
lib-ui/curs_lib.c
@@
-42,7
+42,7
@@
event_t mutt_getch (void)
event_t err = { -1, OP_NULL }, ret;
if (!option (OPTUNBUFFEREDINPUT) && UngetCount)
event_t err = { -1, OP_NULL }, ret;
if (!option (OPTUNBUFFEREDINPUT) && UngetCount)
- return
(KeyEvent[--UngetCount])
;
+ return
KeyEvent[--UngetCount]
;
SigInt = 0;
SigInt = 0;
@@
-58,7
+58,7
@@
event_t mutt_getch (void)
ret.ch = ch;
ret.op = 0;
ret.ch = ch;
ret.op = 0;
- return
(ch == ctrl ('G') ? err : ret)
;
+ return
ch == ctrl ('G') ? err : ret
;
}
int mutt_get_field_unbuffered (char *msg, char *buf, ssize_t buflen, int flags)
}
int mutt_get_field_unbuffered (char *msg, char *buf, ssize_t buflen, int flags)
@@
-69,7
+69,7
@@
int mutt_get_field_unbuffered (char *msg, char *buf, ssize_t buflen, int flags)
rc = mutt_get_field (msg, buf, buflen, flags);
unset_option (OPTUNBUFFEREDINPUT);
rc = mutt_get_field (msg, buf, buflen, flags);
unset_option (OPTUNBUFFEREDINPUT);
- return
(rc)
;
+ return
rc
;
}
void mutt_clear_error (void)
}
void mutt_clear_error (void)
@@
-230,7
+230,7
@@
int mutt_yesorno (const char *msg, int def)
mutt_refresh ();
}
CLEARLINE(stdscr, LINES - 1);
mutt_refresh ();
}
CLEARLINE(stdscr, LINES - 1);
- return
(def)
;
+ return
def
;
}
/* this function is called when the user presses the abort key */
}
/* this function is called when the user presses the abort key */
@@
-378,7
+378,7
@@
int mutt_any_key_to_continue (const char *s)
close (f);
fputs ("\r\n", stdout);
mutt_clear_error ();
close (f);
fputs ("\r\n", stdout);
mutt_clear_error ();
- return
(ch)
;
+ return
ch
;
}
int _mutt_enter_fname (const char *prompt, char *buf, ssize_t blen,
}
int _mutt_enter_fname (const char *prompt, char *buf, ssize_t blen,
@@
-397,7
+397,7
@@
int _mutt_enter_fname (const char *prompt, char *buf, ssize_t blen,
ch = mutt_getch ();
if (ch.ch == -1) {
CLEARLINE(stdscr, LINES - 1);
ch = mutt_getch ();
if (ch.ch == -1) {
CLEARLINE(stdscr, LINES - 1);
- return
(-1)
;
+ return
-1
;
}
else if (ch.ch == '?') {
mutt_refresh ();
}
else if (ch.ch == '?') {
mutt_refresh ();