diff options
author | Roberto E. Vargas Caballero | 2013-11-25 14:09:53 +0100 |
---|---|---|
committer | Roberto E. Vargas Caballero | 2013-11-25 14:09:53 +0100 |
commit | 98f69d9890509ece56d93048c67642004e97955e (patch) | |
tree | 78ebee2b41f1e5541694bb1037680287dbeb3a0b | |
parent | ab6f958554e7a82597458d61f238b6e1b1985b34 (diff) | |
download | aur-98f69d9890509ece56d93048c67642004e97955e.tar.gz |
Fix stupid bug in tdefcolor returning -1 in unsigned function
k0ga misktook applying patch of others. Sorry guys!!!!
-rw-r--r-- | st.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 uint32_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); } -uint32_t +int32_t tdefcolor(int *attr, int *npar, int l) { int32_t idx = -1; uint r, g, b; |