Subject: Re: comments on Unicode printing patch
From: Joaquín Cuenca Abela (cuenca@celium.net)
Date: Sun Feb 11 2001 - 15:57:20 CST
Vlad Harchev wrote:
> 
>  I just succeeded running current AW and tested Unicode printing patch by
> Tomas Frydrych with Cyrillic. After applying the following patch:
> --- xap_UnixFont.cpp-was        Mon Feb 12 00:08:55 2001
> +++ xap_UnixFont.cpp    Mon Feb 12 00:11:04 2001
> @@ -330,8 +330,9 @@
>                 }
>                 else
>                 {
> -                   full_name = new char[20];
> -                   *full_name = 0;
> +                   full_name = new char[strlen(m_fontfile)+50];
                                                             ^^^
We should start using UT_String... (sorry, I couldn't resist :)
Cheers,
-- Joaquin Cuenca Abela cuenca@celium.net
This archive was generated by hypermail 2b25 : Sun Feb 11 2001 - 15:57:24 CST