[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: KDE/kdelibs/kate/buffer
From:       Dominik Haumann <dhdev () gmx ! de>
Date:       2010-08-29 21:38:39
Message-ID: 201008292338.39439.dhdev () gmx ! de
[Download RAW message or body]

On Saturday 21 August 2010, Pascal Létourneau wrote:
> SVN commit 1166429 by pletourn:
> 
> Prevent a crash on a null codec


backport?


>  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;
>        }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic