Forcing the parameter limit to xcopy() and selpaste(). Thanks to Rob Pilling.

This commit is contained in:
Christoph Lohmann 2012-09-05 21:54:52 +02:00
parent 42505c5215
commit 017af76f5c

4
st.c
View file

@ -291,7 +291,7 @@ static void ttywrite(const char *, size_t);
static void xdraws(char *, Glyph, int, int, int, int); static void xdraws(char *, Glyph, int, int, int, int);
static void xhints(void); static void xhints(void);
static void xclear(int, int, int, int); static void xclear(int, int, int, int);
static void xcopy(); static void xcopy(void);
static void xdrawcursor(void); static void xdrawcursor(void);
static void xinit(void); static void xinit(void);
static void xloadcols(void); static void xloadcols(void);
@ -316,7 +316,7 @@ static void selrequest(XEvent *);
static void selinit(void); static void selinit(void);
static inline bool selected(int, int); static inline bool selected(int, int);
static void selcopy(void); static void selcopy(void);
static void selpaste(); static void selpaste(void);
static void selscroll(int, int); static void selscroll(int, int);
static int utf8decode(char *, long *); static int utf8decode(char *, long *);