From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: bojohan+news@dd.chalmers.se (Johan =?utf-8?Q?Bockg=C3=A5rd?=) Newsgroups: gmane.emacs.devel Subject: Re: [goeran@uddeborg.se: Crash when loading a particular gif image] Date: Wed, 28 Sep 2005 01:09:24 +0200 Message-ID: References: <87hdckypvy.fsf@pacem.orebokech.com> <17197.23914.769753.126859@mimmi.uddeborg.se> <87hdciy1qb.fsf@pacem.orebokech.com> <17209.42778.15409.679280@freddi.uddeborg.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1127863538 23784 80.91.229.2 (27 Sep 2005 23:25:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 27 Sep 2005 23:25:38 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 28 01:25:29 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EKOnx-0004CU-AJ for ged-emacs-devel@m.gmane.org; Wed, 28 Sep 2005 01:24:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EKOnw-0002gW-AG for ged-emacs-devel@m.gmane.org; Tue, 27 Sep 2005 19:24:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EKOfP-00087E-GR for emacs-devel@gnu.org; Tue, 27 Sep 2005 19:15:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EKOfN-00086H-9Q for emacs-devel@gnu.org; Tue, 27 Sep 2005 19:15:18 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EKOcf-0006yN-Dq for emacs-devel@gnu.org; Tue, 27 Sep 2005 19:12:31 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1EKOcd-0008MG-0P for emacs-devel@gnu.org; Tue, 27 Sep 2005 19:12:27 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EKObG-0006Mt-Re for emacs-devel@gnu.org; Wed, 28 Sep 2005 01:11:02 +0200 Original-Received: from linus003.dd.chalmers.se ([129.16.117.203]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 28 Sep 2005 01:11:02 +0200 Original-Received: from bojohan+news by linus003.dd.chalmers.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 28 Sep 2005 01:11:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-To: emacs-devel@gnu.org Original-Lines: 11 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: linus003.dd.chalmers.se Mail-Copies-To: never User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:BY/H3i80/582yUAsgGXhWjplPek= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:43298 Archived-At: storm@cua.dk (Kim F. Storm) writes: > Seems so. Does this patch give good results? Yes, after fixing a "." that got lost somehow: ! width = img->width = max (gif->SWidth, gif->Image.Left + gif->ImageWidth); ^^ -- Johan Bockgård