edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
From: Paul Onyschuk <ptmelville@gmail.com>
To: Edbrowse-dev@lists.the-brannons.com
Subject: [Edbrowse-dev] [patch] Assignment typo
Date: Wed, 6 Aug 2014 16:15:54 +0200	[thread overview]
Message-ID: <20140806161554.a38f7f64d9367dc7d2c6710b@gmail.com> (raw)

I'm not attaching this, since it is one character change (faster to
change by hand than use patch).  This should be assigment, not
comparison (line 961 in format.c):

diff --git a/src/format.c b/src/format.c
index 09e3a1f..9e9f8b9 100644
--- a/src/format.c
+++ b/src/format.c
@@ -958,7 +958,7 @@ eb_bool breakLine(const char *line, int len, int *newlen)
 	if (lspace < 2)
 		lspace = 2;	/* should never happen */
 	if (!len + pre_cr)
-		lspace == 3;
+		lspace = 3;
 	bl_start = bl_cursor = replaceLine;
 	bl_end = replaceLine + REPLACELINELEN - 8;
 	bl_overflow = eb_false;
-- 
Paul Onyschuk

             reply	other threads:[~2014-08-06 14:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-06 14:15 Paul Onyschuk [this message]
2014-08-06 14:23 Karl Dahlke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140806161554.a38f7f64d9367dc7d2c6710b@gmail.com \
    --to=ptmelville@gmail.com \
    --cc=Edbrowse-dev@lists.the-brannons.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).