diff options
author | Michael Vetter <jubalh@iodoru.org> | 2020-03-09 11:51:32 +0100 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2020-03-09 11:51:32 +0100 |
commit | 0801623018a6630d8104d1fe7cc40e297fca85e0 (patch) | |
tree | 4f34c19fe5ccd4d5d63a268280c6cf9faeea9554 /src | |
parent | 8112b8c84babdc708bdc8875338b8d2d1bf29abf (diff) | |
download | profani-tty-0801623018a6630d8104d1fe7cc40e297fca85e0.tar.gz |
window.c: Rename variable
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/window.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/window.c b/src/ui/window.c index a93322e3..eb54d24a 100644 --- a/src/ui/window.c +++ b/src/ui/window.c @@ -1413,7 +1413,7 @@ win_newline(ProfWin *window) static void _win_printf(ProfWin *window, const char *show_char, int pad_indent, GDateTime *timestamp, - int flags, theme_item_t theme_item, const char *const from, const char *const message_id, const char *const message, ...) + int flags, theme_item_t theme_item, const char *const display_from, const char *const message_id, const char *const message, ...) { if (timestamp == NULL) { timestamp = g_date_time_new_now_local(); @@ -1426,9 +1426,9 @@ _win_printf(ProfWin *window, const char *show_char, int pad_indent, GDateTime *t GString *fmt_msg = g_string_new(NULL); g_string_vprintf(fmt_msg, message, arg); - buffer_append(window->layout->buffer, show_char, pad_indent, timestamp, flags, theme_item, from, fmt_msg->str, NULL, message_id); + buffer_append(window->layout->buffer, show_char, pad_indent, timestamp, flags, theme_item, display_from, fmt_msg->str, NULL, message_id); - _win_print_internal(window, show_char, pad_indent, timestamp, flags, theme_item, from, fmt_msg->str, NULL); + _win_print_internal(window, show_char, pad_indent, timestamp, flags, theme_item, display_from, fmt_msg->str, NULL); inp_nonblocking(TRUE); g_date_time_unref(timestamp); |