summaryrefslogtreecommitdiff
path: root/pico/word.c
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2013-08-28 22:31:55 -0600
committerEduardo Chappa <chappa@washington.edu>2013-08-28 22:31:55 -0600
commit9e9955aecf65dfbf80bb32c70feec4acadff2a66 (patch)
tree6ba472446445f48faeaeef730e8ff02e1371bbd9 /pico/word.c
parent93ff1074e538a1d60a04d79a3628d598d301e02e (diff)
downloadalpine-9e9955aecf65dfbf80bb32c70feec4acadff2a66.tar.xz
* Tune for help formatting in pine.hlp
* Pico: Justification works without need to define a quote string, it allows justification of blocks indented with spaces.
Diffstat (limited to 'pico/word.c')
-rw-r--r--pico/word.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/pico/word.c b/pico/word.c
index 1f176ab3..b0008df1 100644
--- a/pico/word.c
+++ b/pico/word.c
@@ -815,11 +815,10 @@ fillpara(int f, int n)
swap_mark_and_dot_if_mark_comes_first();
/* determine if we're justifying quoted text or not */
- qstr = (glo_quote_str
- && quote_match(glo_quote_str,
- curwp->w_doto > 0 ? curwp->w_dotp->l_fp : curwp->w_dotp,
- qstr2, NSTRING)
- && *qstr2) ? qstr2 : NULL;
+ qstr = quote_match(glo_quote_str,
+ curwp->w_doto > 0 ? curwp->w_dotp->l_fp : curwp->w_dotp,
+ qstr2, NSTRING)
+ && *qstr2 ? qstr2 : NULL;
/*
@@ -843,10 +842,9 @@ fillpara(int f, int n)
return(FALSE);
/* determine if we're justifying quoted text or not */
- qstr = (glo_quote_str
- && quote_match(glo_quote_str,
+ qstr = quote_match(glo_quote_str,
curwp->w_dotp, qstr2, NSTRING)
- && *qstr2) ? qstr2 : NULL;
+ && *qstr2 ? qstr2 : NULL;
setmark(0,0); /* mark last line of para */