limes@SUN.COM (Greg Limes) (01/13/89)
When running Gnu Emacs 18.52 inside Emacstool under SunOS 4.0 on a Sun4, the mouse cursor is not properly displayed; the left half of the cursor is duplicated onto the right half. This is caused by a statement using undefined evaluation order in sunfns.c as shown by the context diff below. *** /home/gnuemacs/src/sunfns.c- Sat May 21 10:28:18 1988 --- /home/gnuemacs/src/sunfns.c Thu Jan 12 14:31:44 1989 *************** *** 237,243 **** cp = XSTRING(Data)->data; p = CursorData; i = 16; ! while(--i >= 0) *p++ = (*cp++ << 8) | (*cp++); CurrentCursor = NewCursor; } win_setcursor(win_fd, &CurrentCursor); --- 237,246 ---- cp = XSTRING(Data)->data; p = CursorData; i = 16; ! while(--i >= 0) { ! *p++ = (cp[0] << 8) | cp[1]; ! cp += 2; ! } CurrentCursor = NewCursor; } win_setcursor(win_fd, &CurrentCursor);