comparison src/xterm.c @ 41788:ff4fb83e4986

Fix typos.
author Pavel Janík <Pavel@Janik.cz>
date Sun, 02 Dec 2001 13:13:01 +0000
parents c0edacaaaea8
children fcab0e888c5c
comparison
equal deleted inserted replaced
41787:d782e4b0dfa0 41788:ff4fb83e4986
7316 return 1; 7316 return 1;
7317 } 7317 }
7318 7318
7319 7319
7320 /* Handle mouse button event on the tool-bar of frame F, at 7320 /* Handle mouse button event on the tool-bar of frame F, at
7321 frame-relative coordinates X/Y. EVENT_TYPE is either ButtionPress 7321 frame-relative coordinates X/Y. EVENT_TYPE is either ButtonPress
7322 or ButtonRelase. */ 7322 or ButtonRelase. */
7323 7323
7324 static void 7324 static void
7325 x_handle_tool_bar_click (f, button_event) 7325 x_handle_tool_bar_click (f, button_event)
7326 struct frame *f; 7326 struct frame *f;
10406 It seems that some version of XmbLookupString has 10406 It seems that some version of XmbLookupString has
10407 a bug of not returning XBufferOverflow in 10407 a bug of not returning XBufferOverflow in
10408 status_return even if the input is too long to 10408 status_return even if the input is too long to
10409 fit in 81 bytes. So, we must prepare sufficient 10409 fit in 81 bytes. So, we must prepare sufficient
10410 bytes for copy_buffer. 513 bytes (256 chars for 10410 bytes for copy_buffer. 513 bytes (256 chars for
10411 two-byte character set) seems to be a faily good 10411 two-byte character set) seems to be a fairly good
10412 approximation. -- 2000.8.10 handa@etl.go.jp */ 10412 approximation. -- 2000.8.10 handa@etl.go.jp */
10413 unsigned char copy_buffer[513]; 10413 unsigned char copy_buffer[513];
10414 unsigned char *copy_bufptr = copy_buffer; 10414 unsigned char *copy_bufptr = copy_buffer;
10415 int copy_bufsiz = sizeof (copy_buffer); 10415 int copy_bufsiz = sizeof (copy_buffer);
10416 int modifiers; 10416 int modifiers;