comparison src/dialog-msw.c @ 410:de805c49cfc1 r21-2-35

Import from CVS: tag r21-2-35
author cvs
date Mon, 13 Aug 2007 11:19:21 +0200
parents 2f8bb876ab1d
children 697ef44129c6
comparison
equal deleted inserted replaced
409:301b9ebbdf3b 410:de805c49cfc1
387 Bufbyte *trans = (Bufbyte *) alloca (2 * XSTRING_LENGTH (ctext) + 3); 387 Bufbyte *trans = (Bufbyte *) alloca (2 * XSTRING_LENGTH (ctext) + 3);
388 Bytecount translen; 388 Bytecount translen;
389 389
390 memcpy (trans, XSTRING_DATA (ctext), XSTRING_LENGTH (ctext) + 1); 390 memcpy (trans, XSTRING_DATA (ctext), XSTRING_LENGTH (ctext) + 1);
391 translen = 391 translen =
392 msw_translate_menu_or_dialog_item (trans, 392 mswindows_translate_menu_or_dialog_item (trans,
393 XSTRING_LENGTH (ctext), 393 XSTRING_LENGTH (ctext),
394 2 * XSTRING_LENGTH (ctext) + 3, 394 2 * XSTRING_LENGTH (ctext) + 3,
395 &accel_unused, 395 &accel_unused,
396 ctext); 396 ctext);
397 push_bufbyte_string_as_unicode (template, trans, translen); 397 push_bufbyte_string_as_unicode (template, trans, translen);