mirror of
https://github.com/tmux/tmux.git
synced 2024-10-31 22:58:49 +00:00
This doesn't need to be u_int.
This commit is contained in:
parent
1acf066fb9
commit
106ee8f30a
2
clock.c
2
clock.c
@ -97,7 +97,7 @@ const char clock_table[14][5][5] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
void
|
void
|
||||||
clock_draw(struct screen_write_ctx *ctx, u_int colour, int style)
|
clock_draw(struct screen_write_ctx *ctx, int colour, int style)
|
||||||
{
|
{
|
||||||
struct screen *s = ctx->s;
|
struct screen *s = ctx->s;
|
||||||
struct grid_cell gc;
|
struct grid_cell gc;
|
||||||
|
2
tmux.h
2
tmux.h
@ -1408,7 +1408,7 @@ int paste_replace(struct paste_stack *, u_int, char *, size_t);
|
|||||||
|
|
||||||
/* clock.c */
|
/* clock.c */
|
||||||
extern const char clock_table[14][5][5];
|
extern const char clock_table[14][5][5];
|
||||||
void clock_draw(struct screen_write_ctx *, u_int, int);
|
void clock_draw(struct screen_write_ctx *, int, int);
|
||||||
|
|
||||||
/* cmd.c */
|
/* cmd.c */
|
||||||
int cmd_pack_argv(int, char **, char *, size_t);
|
int cmd_pack_argv(int, char **, char *, size_t);
|
||||||
|
@ -113,8 +113,7 @@ window_clock_draw_screen(struct window_pane *wp)
|
|||||||
{
|
{
|
||||||
struct window_clock_mode_data *data = wp->modedata;
|
struct window_clock_mode_data *data = wp->modedata;
|
||||||
struct screen_write_ctx ctx;
|
struct screen_write_ctx ctx;
|
||||||
u_int colour;
|
int colour, style;
|
||||||
int style;
|
|
||||||
|
|
||||||
colour = options_get_number(&wp->window->options, "clock-mode-colour");
|
colour = options_get_number(&wp->window->options, "clock-mode-colour");
|
||||||
style = options_get_number(&wp->window->options, "clock-mode-style");
|
style = options_get_number(&wp->window->options, "clock-mode-style");
|
||||||
|
Loading…
Reference in New Issue
Block a user