mirror of
https://github.com/LukeSmithxyz/st.git
synced 2024-11-22 07:15:59 +01:00
Fix stupid bug in tdefcolor returning -1 in unsigned function
k0ga misktook applying patch of others. Sorry guys!!!!
This commit is contained in:
parent
1fe0a5f39a
commit
53474391bc
1 changed files with 2 additions and 2 deletions
4
st.c
4
st.c
|
@ -379,7 +379,7 @@ static void tsetdirtattr(int);
|
||||||
static void tsetmode(bool, bool, int *, int);
|
static void tsetmode(bool, bool, int *, int);
|
||||||
static void tfulldirt(void);
|
static void tfulldirt(void);
|
||||||
static void techo(char *, int);
|
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 tselcs(void);
|
||||||
static void tdeftran(char);
|
static void tdeftran(char);
|
||||||
static inline bool match(uint, uint);
|
static inline bool match(uint, uint);
|
||||||
|
@ -1666,7 +1666,7 @@ tdeleteline(int n) {
|
||||||
tscrollup(term.c.y, n);
|
tscrollup(term.c.y, n);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t
|
int32_t
|
||||||
tdefcolor(int *attr, int *npar, int l) {
|
tdefcolor(int *attr, int *npar, int l) {
|
||||||
int32_t idx = -1;
|
int32_t idx = -1;
|
||||||
uint r, g, b;
|
uint r, g, b;
|
||||||
|
|
Loading…
Reference in a new issue