From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-x233.google.com (mail-wi0-x233.google.com [IPv6:2a00:1450:400c:c05::233]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 2FDE878ABD for ; Wed, 6 Aug 2014 07:16:47 -0700 (PDT) Received: by mail-wi0-f179.google.com with SMTP id f8so3271743wiw.0 for ; Wed, 06 Aug 2014 07:15:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mime-version:content-type :content-transfer-encoding; bh=ZN8xUa0BOPkIq7S6cbWykT7J5+58wzOc5n+RLq/Y0TQ=; b=PVt5bhC6Tsn2yt4KRXLdG61jiLFBeyxUin/hIxR61X49Jp+XRAXSFAWvSj9slgGaoc qwupdtToQZWzAvsuERWSyKheazrJ75tMUZlTnREl5s6aOCM4BvZlCrzcn95zydh+0wqj JrEwjTnEGWH02Wjmu2a1jh3+MfWQ979KkHjk24AeEEC0xZdbH29N6IHAriL4icnO+ujE iGePyt5CB4/VjhC0H1Si7fXZMS4ywtGNoNRRxBRSOkktjfqFqc3Izb3J3WNdIAJ7bdRJ RcNNytz06RdLk9ANNEI2gYtPJgAiLB9OKqP3PFZBg9MES9cIwOMaPrEgyiQK+S/6zQJB BASg== X-Received: by 10.195.11.234 with SMTP id el10mr16417056wjd.95.1407334556765; Wed, 06 Aug 2014 07:15:56 -0700 (PDT) Received: from sigil.Belkin ([109.231.16.247]) by mx.google.com with ESMTPSA id xn12sm18766720wib.13.2014.08.06.07.15.55 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Aug 2014 07:15:55 -0700 (PDT) Date: Wed, 6 Aug 2014 16:15:54 +0200 From: Paul Onyschuk To: Edbrowse-dev@lists.the-brannons.com Message-Id: <20140806161554.a38f7f64d9367dc7d2c6710b@gmail.com> X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.23; x86_64-alpine-linux-musl) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [Edbrowse-dev] [patch] Assignment typo X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2014 14:16:47 -0000 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