X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fcommon%2Fuuid.cpp;h=f0b8704be40fd093d2ca9b168a4c8106037296e7;hb=cba151c4b833a26c63984769f921bab5e755decd;hp=2831e884c71c39fe64da56c0af165861ad300ccc;hpb=fb79c54f1e6547985e8180d9fd5e2cc27ef6f919;p=xestiacalendar%2F.git diff --git a/source/common/uuid.cpp b/source/common/uuid.cpp index 2831e88..f0b8704 100644 --- a/source/common/uuid.cpp +++ b/source/common/uuid.cpp @@ -1,8 +1,8 @@ -// uuid.cpp - UUID subroutines. +// uuid.cpp - UUID functions. // -// (c) 2012-2015 Xestia Software Development. +// (c) 2012-2017 Xestia Software Development. // -// This file is part of Xestia Calendar. +// This file is part of Xestia Calendar. Based on Xestia Address Book. // // Xestia Calendar is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by the @@ -54,6 +54,12 @@ string GenerateUUID() #endif + if (uuidout.back() == '\n'){ + + uuidout.erase(uuidout.end()-1); + + } + return uuidout; } \ No newline at end of file