Fixed wrong index

This commit is contained in:
2023-03-28 13:05:18 +02:00
parent c71e0f8947
commit edd573546b

View File

@@ -33,11 +33,11 @@ namespace Password_Manager
{ {
if (fields[0] == PATH) if (fields[0] == PATH)
{ {
path = fields[0]; path = fields[1];
} }
else if (fields[0] == RECIPIENT) else if (fields[0] == RECIPIENT)
{ {
recipient = fields[0]; recipient = fields[1];
} }
} }
else //probably an empty line or something else //probably an empty line or something