edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
* [Edbrowse-dev]  [patch] Assignment typo
@ 2014-08-06 14:23 Karl Dahlke
  0 siblings, 0 replies; 2+ messages in thread
From: Karl Dahlke @ 2014-08-06 14:23 UTC (permalink / raw)
  To: Edbrowse-dev

Yes of course. It is now fixed.
Surprising it didn't cause any trouble;
but hardly anyone uses the bl command,
I don't even use it all that often.
Thanks.

Karl Dahlke

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Edbrowse-dev] [patch] Assignment typo
@ 2014-08-06 14:15 Paul Onyschuk
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Onyschuk @ 2014-08-06 14:15 UTC (permalink / raw)
  To: Edbrowse-dev

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-08-06 14:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-06 14:23 [Edbrowse-dev] [patch] Assignment typo Karl Dahlke
  -- strict thread matches above, loose matches on Subject: below --
2014-08-06 14:15 Paul Onyschuk

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).