Mercurial > hg > xemacs-beta
diff src/intl.c @ 380:8626e4521993 r21-2-5
Import from CVS: tag r21-2-5
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:07:10 +0200 |
parents | 2c611d1463a6 |
children | 74fd4e045ea6 |
line wrap: on
line diff
--- a/src/intl.c Mon Aug 13 11:06:08 2007 +0200 +++ b/src/intl.c Mon Aug 13 11:07:10 2007 +0200 @@ -123,7 +123,7 @@ insertion into the buffer of the whole string. It might require some care, though, to avoid fragmenting memory through the allocation and freeing of many small chunks. Maybe the existing system for - (single-byte) string allocation can be used, multipling the length by + (single-byte) string allocation can be used, multiplying the length by sizeof (wchar_t) to get the right size. */ void @@ -136,14 +136,14 @@ int i; XClientMessageEvent new_event; - try_again: + retry: len = XwcLookupString (context, x_key_event, composed_input_buf.data, composed_input_buf.size, &keysym, &status); switch (status) { case XBufferOverflow: /* GROW_WC_STRING (&composed_input_buf, 32); mrb */ - goto try_again; + goto retry; case XLookupChars: break; default: