about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-03-09 11:51:32 +0100
committerMichael Vetter <jubalh@iodoru.org>2020-03-09 11:51:32 +0100
commit0801623018a6630d8104d1fe7cc40e297fca85e0 (patch)
tree4f34c19fe5ccd4d5d63a268280c6cf9faeea9554 /src
parent8112b8c84babdc708bdc8875338b8d2d1bf29abf (diff)
downloadprofani-tty-0801623018a6630d8104d1fe7cc40e297fca85e0.tar.gz
window.c: Rename variable
Diffstat (limited to 'src')
-rw-r--r--src/ui/window.c6
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);
31101bfb365c8224ef09f84a92794a89e975f'>^
25d31101 ^

















2cdbfc7e ^













1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47