diff --git a/otp.c b/otp.c index de78ba6..21c6c60 100644 --- a/otp.c +++ b/otp.c @@ -2948,10 +2948,9 @@ int handle_pads_menu(void) { for (int i = 0; i < pad_count; i++) { // Display checksum with prefix underlined - printf("\033[4m%.*s\033[0m%s %-*s %-12s %.1f%%\n", + printf("\033[4m%.*s\033[0m%-*s %-12s %-12s %.1f%%\n", prefix_lengths[i], pads[i].chksum, // Underlined prefix - pads[i].chksum + prefix_lengths[i], // Rest of checksum - 20 - (int)strlen(pads[i].chksum), "", // Padding for alignment + 20 - prefix_lengths[i], pads[i].chksum + prefix_lengths[i], // Rest of checksum with padding pads[i].size_str, pads[i].used_str, pads[i].percentage);