diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-08-04 15:11:43 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-08-04 15:11:43 -0700 |
commit | c67702a4989c450acd2c9f02fb65aa757f74880f (patch) | |
tree | f1def9222481625273521642d68db72c46b866b1 /output.cpp | |
parent | 5880cd88c8e378efb3c76e0cfdff99dce0edf810 (diff) |
Cleaned up lots of typecasts, simplified some string handling
Diffstat (limited to 'output.cpp')
-rw-r--r-- | output.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -161,7 +161,7 @@ static bool write_color(char *todo, unsigned char idx, bool is_fg) { } else { /* We are attempting to bypass the term here. Generate the ANSI escape sequence ourself. */ char stridx[128]; - format_long_safe(stridx, (long)idx); + format_long_safe(stridx, idx); char buff[128] = "\x1b["; strcat(buff, is_fg ? "38;5;" : "48;5;"); strcat(buff, stridx); |