diff options
author | Eduardo Chappa <chappa@washington.edu> | 2013-05-31 17:16:44 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2013-05-31 17:16:44 -0600 |
commit | a46157ba61f2c65f88b42abb31db60c4a714f87b (patch) | |
tree | e37bc41ad2f57b3fd2bad310576cc155a58ca6b7 /pico/composer.c | |
parent | 81e994d7907f850506ddc248f84761a54995e58c (diff) | |
download | alpine-a46157ba61f2c65f88b42abb31db60c4a714f87b.tar.xz |
* somehow all.patch got here. Reversing.
Diffstat (limited to 'pico/composer.c')
-rw-r--r-- | pico/composer.c | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/pico/composer.c b/pico/composer.c index e709cd67..c801d385 100644 --- a/pico/composer.c +++ b/pico/composer.c @@ -1872,8 +1872,6 @@ AppendAttachment(char *fn, char *sz, char *cmt) } UpdateHeader(0); - if(sendnow) - return(status !=0); PaintHeader(COMPOSER_TOP_LINE, status != 0); PaintBody(1); return(status != 0); @@ -2017,7 +2015,7 @@ LineEdit(int allowedit, UCS *lastch) tbufp = &strng[ods.p_len]; if(VALID_KEY(ch)){ /* char input */ -insert_char:/* + /* * if we are allowing editing, insert the new char * end up leaving tbufp pointing to newly * inserted character in string, and offset to the @@ -2097,13 +2095,6 @@ insert_char:/* } else { /* interpret ch as a command */ switch (ch = normalize_cmd(ch, ckm, 2)) { - case (CTRL|'\\') : - if (ch = GetAccent()) - goto insert_char; - else - clearcursor(); - break; - case (CTRL|KEY_LEFT): /* word skip left */ if(ods.p_ind > 0) /* Scoot one char left if possible */ ods.p_ind--; @@ -3371,9 +3362,6 @@ display_delimiter(int state) { UCS *bufp, *buf; - if (sendnow) - return; - if(ComposerTopLine - 1 >= BOTTOM()) /* silently forget it */ return; @@ -3430,9 +3418,6 @@ InvertPrompt(int entry, int state) UCS *end; int i; - if (sendnow) - return(TRUE); - buf = utf8_to_ucs4_cpystr(headents[entry].prompt); /* fresh prompt paint */ if(!buf) return(-1); @@ -4388,9 +4373,6 @@ is_blank(int row, int col, int n) void ShowPrompt(void) { - if (sendnow) - return; - if(headents[ods.cur_e].key_label){ menu_header[TO_KEY].name = "^T"; menu_header[TO_KEY].label = headents[ods.cur_e].key_label; |