[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: KDE/kdelibs/kate/buffer
From: Christoph Cullmann <cullmann () absint ! de>
Date: 2010-08-24 6:09:25
Message-ID: 201008240809.25730.cullmann () absint ! de
[Download RAW message or body]
On Saturday, August 21, 2010 09:35:58 pm Pascal Létourneau wrote:
> SVN commit 1166429 by pletourn:
>
> Prevent a crash on a null codec
>
>
> M +2 -1 katetextbuffer.cpp
>
>
> --- trunk/KDE/kdelibs/kate/buffer/katetextbuffer.cpp #1166428:1166429
> @@ -540,7 +540,8 @@
>
> // bail out on encoding error, if not last round!
> if (encodingErrors && i < 3) {
> - kDebug (13020) << "Failed try to load file" << filename << "with
> codec" << file.textCodec ()->name(); + kDebug (13020) << "Failed
> try to load file" << filename << "with codec" << +
> (file.textCodec() ? file.textCodec()->name() : "(null)"); break;
> }
Thanks ;) Stupid me ;)
Fixed one unit test, too ;)
--
-------------------------------------- Christoph Cullmann ---------
AbsInt Angewandte Informatik GmbH Email: cullmann@AbsInt.com
Science Park 1 Tel: +49-681-38360-22
66123 Saarbrücken Fax: +49-681-38360-20
GERMANY WWW: http://www.AbsInt.com
--------------------------------------------------------------------
Geschäftsführung: Dr.-Ing. Christian Ferdinand
Eingetragen im Handelsregister des Amtsgerichts Saarbrücken, HRB 11234
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic