| File src/ui/fileview.c changed (mode: 100644) (index 75ab2e78d..08f66ea8c) |
| 31 |
31 |
#include <assert.h> /* assert() */ |
#include <assert.h> /* assert() */ |
| 32 |
32 |
#include <stddef.h> /* NULL size_t */ |
#include <stddef.h> /* NULL size_t */ |
| 33 |
33 |
#include <stdlib.h> /* abs() malloc() */ |
#include <stdlib.h> /* abs() malloc() */ |
| 34 |
|
#include <string.h> /* memset() strcpy() strlen() */ |
|
|
34 |
|
#include <string.h> /* memset() strlen() */ |
| 35 |
35 |
|
|
| 36 |
36 |
#include "../cfg/config.h" |
#include "../cfg/config.h" |
| 37 |
37 |
#include "../compat/pthread.h" |
#include "../compat/pthread.h" |
| |
| ... |
... |
column_line_print(const char buf[], int offset, AlignType align, |
| 1233 |
1233 |
} |
} |
| 1234 |
1234 |
else |
else |
| 1235 |
1235 |
{ |
{ |
| 1236 |
|
strcpy(print_buf, buf); |
|
|
1236 |
|
copy_str(print_buf, sizeof(print_buf), buf); |
| 1237 |
1237 |
} |
} |
| 1238 |
1238 |
width_left = cdt->total_width - offset; |
width_left = cdt->total_width - offset; |
| 1239 |
1239 |
trim_pos = utf8_nstrsnlen(buf, width_left); |
trim_pos = utf8_nstrsnlen(buf, width_left); |