8 Commits

Author SHA1 Message Date
Pk11
149f0b2496 Use macro for UTF-8 byte count
Makes it more clear why all of the buffers are being multiplied by 4

Fix UTF-8 bytesize macro

Before UTF_BUFFER_BYTESIZE(str_width - 10)] would multiply the 10, not the whole number, by UTF_MAX_BYTES_PER_RUNE

Do (rune_count + 1) * 4 in UTF-8 bytesize macro

Fix Resize/Truncate String snprintf size

Before it would break if the last character was multi-byte
2021-08-31 13:40:54 +02:00
Pk11
2f00e5dfe7 Proper handling of UTF-8
Note: This commit may be slightly broken, I'm just splitting up it and the next one at the end.
2021-08-31 13:40:54 +02:00
d0k3
7f6f6db410 Add title manager (replaces title search) 2020-12-24 15:53:59 +01:00
Gabriel Marcano
d010f2858b Remove trailing white space
- Removed trailing whitespace from all source code files (.c, .h. and
   .s) and the README.md
2020-08-26 23:01:58 +02:00
d0k3
e477ec0a18 Fix compile errors introduced by bfc3363
Fixes #432
2018-10-02 18:42:04 +02:00
d0k3
bfc3363012 Improved / fixed DirStruct entry name handling
Fixes #431
2018-10-01 23:51:05 +02:00
d0k3
a4a7b8f1e0 Fix GCC v8.1 (new dkA) warnings
... this also fixes #371
2018-05-24 01:08:00 +02:00
Wolfvak
beeea37d07 Revised Makefile 2017-11-17 19:37:45 +01:00