define MAX_STRING SIZE

This commit is contained in:
Nikola Petrov
2023-08-14 14:15:12 +02:00
parent 17d1a27640
commit 2a7854ebac
4 changed files with 14 additions and 13 deletions

View File

@@ -2,11 +2,12 @@
#include <fstream>
#include "buffer.h"
constexpr auto MAX_STRING_SIZE = 21;
struct Pass
{
char label[21];
char password[21];
char label[MAX_STRING_SIZE];
char password[MAX_STRING_SIZE];
Pass() = default;
};