On 2013-06-21 08:45, Alexandre Prokoudine wrote:
> Hi,
>
> There's something wrong with the lens plugin. In the dropdown box
> where you pick the kind of corrections you want applied, names of
> options are illegally cropped. On the attached screenshot you'll see
> the square typical for cases when a unicode character is abruptly cut
> in the middle. The last option there is also missing a character, but
> that's the same bug.

Here's a patch for it:
https://github.com/darktable-org/darktable/pull/250

As usual, regular string functions do not work well on Unicode strings.
Since GTK doesn't have its own g_utf8_strlcpy() implementation
(yet? see https://bugzilla.gnome.org/show_bug.cgi?id=520116),
I just added it into src/common/utility.c and used instead of g_strlcpy().

-- 
Wbr,
Antony Dovgal
---
http://pinba.org - realtime profiling for PHP

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to