Hi,

В Птн, 14/09/2007 в 21:37 +0200, Julien BLACHE пишет:

> Could you review the russian translation of xsane ? There's probably
> an encoding issue in the file.

ru.po is entirely unicode.

In xsane.c:

        static void xsane_help_no_devices(void)
        {
         char buf[512];
        
          snprintf(buf, sizeof(buf), "%s\n\n%s", ERR_NO_DEVICES,
        HELP_NO_DEVICES);
          xsane_back_gtk_decision(WINDOW_NO_DEVICES, (gchar**)
        no_device_xpm, buf, BUTTON_CLOSE, NULL, TRUE);
        }
        
Increasing buf size up to 1024 solves problem, but IMO memory should be
allocated dynamically here...

-- 
Sergey Fedoseev <[EMAIL PROTECTED]>
JID: [EMAIL PROTECTED]




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to