Standard gettext PO format

Thiago Macieira thiago at kde.org
Fri Dec 30 14:16:36 GMT 2005


Chusslove Illich wrote:
>+  char *newstring = new char[strlen(index) + strlen(fallback) + 2];
>+  sprintf(newstring, "%s\004%s", index, fallback);

I don't like this. Why not a QVarLengthArray or QByteArray?
-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

5. Swa he géanhwearf tó timbran, and hwonne he cóm, lá! Unix cwæð "Hello, 
World". Ǽfre ǽghwilc wæs glæd and seo woruld wæs fréo.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20051230/68fc1be0/attachment.sig>


More information about the kde-core-devel mailing list