pinosaur
/
st.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fe0a5f
)
Fix stupid bug in tdefcolor returning -1 in unsigned function
author
Roberto E. Vargas Caballero
<k0ga@shike2.com>
Mon, 25 Nov 2013 13:09:53 +0000
(14:09 +0100)
committer
Roberto E. Vargas Caballero
<k0ga@shike2.com>
Mon, 25 Nov 2013 13:09:53 +0000
(14:09 +0100)
k0ga misktook applying patch of others. Sorry guys!!!!
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index
fb084b1
..
8f1b8d8
100644
(file)
--- a/
st.c
+++ b/
st.c
@@
-379,7
+379,7
@@
static void tsetdirtattr(int);
static void tsetmode(bool, bool, int *, int);
static void tfulldirt(void);
static void techo(char *, int);
-static
u
int32_t tdefcolor(int *, int *, int);
+static int32_t tdefcolor(int *, int *, int);
static void tselcs(void);
static void tdeftran(char);
static inline bool match(uint, uint);
@@
-1666,7
+1666,7
@@
tdeleteline(int n) {
tscrollup(term.c.y, n);
}
-
u
int32_t
+int32_t
tdefcolor(int *attr, int *npar, int l) {
int32_t idx = -1;
uint r, g, b;