From 50429026c44a8c852b4780f85555df5d23a30552 Mon Sep 17 00:00:00 2001 From: Connor McDowell Date: Wed, 21 Feb 2024 16:29:54 -0800 Subject: gunna call it and talk with prof during office hours --- Project1/contacts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project1/contacts.cpp b/Project1/contacts.cpp index a35c74f..4c9814b 100644 --- a/Project1/contacts.cpp +++ b/Project1/contacts.cpp @@ -122,7 +122,7 @@ contact contact_double(contact*& newContact, size_t& MAX, size_t t) doubleContact[a].a = newContact[a].a; doubleContact[a].id = newContact[a].id; doubleContact[a].count = newContact[a].count; - doubleContact[a].Name[25] = newContact[a].Name[25]; + doubleContact[a].Name[30] = newContact[a].Name[30]; doubleContact[a].Email[100] = newContact[a].Email[100]; doubleContact[a].StreetAddress[35] = newContact[a].StreetAddress[35]; doubleContact[a].City[30] = newContact[a].City[30]; -- cgit v1.2.3