Tue Dec 10 16:50:29 2002 Michael Jennings (mej)
A few fixes from Andre Pang <ozone@algorithm.com.au>. One for big- endian machines, one for automake >= 1.6, and one for using the cut buffers with the copy/paste script functions. SVN revision: 6489
This commit is contained in:
parent
675bf268aa
commit
5acc713fc1
|
@ -4946,3 +4946,9 @@ problem. >:I I should really read more carefully.
|
||||||
|
|
||||||
While I was at it, I fixed some bad uses of BEG_STRCASECMP().
|
While I was at it, I fixed some bad uses of BEG_STRCASECMP().
|
||||||
----------------------------------------------------------------------
|
----------------------------------------------------------------------
|
||||||
|
Tue Dec 10 16:50:29 2002 Michael Jennings (mej)
|
||||||
|
|
||||||
|
A few fixes from Andre Pang <ozone@algorithm.com.au>. One for big-
|
||||||
|
endian machines, one for automake >= 1.6, and one for using the cut
|
||||||
|
buffers with the copy/paste script functions.
|
||||||
|
----------------------------------------------------------------------
|
||||||
|
|
|
@ -143,6 +143,14 @@ export PERL AWK
|
||||||
|
|
||||||
AC_C_CONST
|
AC_C_CONST
|
||||||
AC_C_INLINE
|
AC_C_INLINE
|
||||||
|
AC_C_BIGENDIAN
|
||||||
|
|
||||||
|
# Keep automake >= 1.6 quiet about "assembler sources seen but no CCAS defined"
|
||||||
|
CCAS="$CC"
|
||||||
|
AC_SUBST(CCAS)
|
||||||
|
CCASFLAGS="$CFLAGS"
|
||||||
|
AC_SUBST(CCASFLAGS)
|
||||||
|
|
||||||
AC_PATH_XTRA
|
AC_PATH_XTRA
|
||||||
|
|
||||||
if test ! -z "$X_CFLAGS"; then
|
if test ! -z "$X_CFLAGS"; then
|
||||||
|
|
|
@ -163,7 +163,7 @@ script_handler_copy(char **params)
|
||||||
for (i = 0; (buffer_id = params[i]) != NULL; i++) {
|
for (i = 0; (buffer_id = params[i]) != NULL; i++) {
|
||||||
if (*buffer_id) {
|
if (*buffer_id) {
|
||||||
if (*buffer_id >= '0' && *buffer_id <= '7') {
|
if (*buffer_id >= '0' && *buffer_id <= '7') {
|
||||||
sel = (Atom) ((int) XA_CUT_BUFFER0 + (int) *buffer_id);
|
sel = (Atom) ((int) XA_CUT_BUFFER0 + (int) (*buffer_id - '0'));
|
||||||
} else if (!BEG_STRCASECMP(buffer_id, "clipboard")) {
|
} else if (!BEG_STRCASECMP(buffer_id, "clipboard")) {
|
||||||
sel = XA_CLIPBOARD(Xdisplay);
|
sel = XA_CLIPBOARD(Xdisplay);
|
||||||
} else if (!BEG_STRCASECMP(buffer_id, "primary")) {
|
} else if (!BEG_STRCASECMP(buffer_id, "primary")) {
|
||||||
|
@ -264,7 +264,7 @@ script_handler_paste(char **params)
|
||||||
for (i = 0; (buffer_id = params[i]) != NULL; i++) {
|
for (i = 0; (buffer_id = params[i]) != NULL; i++) {
|
||||||
if (*buffer_id) {
|
if (*buffer_id) {
|
||||||
if (*buffer_id >= '0' && *buffer_id <= '7') {
|
if (*buffer_id >= '0' && *buffer_id <= '7') {
|
||||||
sel = (Atom) ((int) XA_CUT_BUFFER0 + (int) *buffer_id);
|
sel = (Atom) ((int) XA_CUT_BUFFER0 + (int) (*buffer_id - '0'));
|
||||||
} else if (!BEG_STRCASECMP(buffer_id, "clipboard")) {
|
} else if (!BEG_STRCASECMP(buffer_id, "clipboard")) {
|
||||||
sel = XA_CLIPBOARD(Xdisplay);
|
sel = XA_CLIPBOARD(Xdisplay);
|
||||||
} else if (!BEG_STRCASECMP(buffer_id, "primary")) {
|
} else if (!BEG_STRCASECMP(buffer_id, "primary")) {
|
||||||
|
|
Loading…
Reference in New Issue