summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xutilities.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/utilities.cpp b/utilities.cpp
index af4eb3b..1353ae0 100755
--- a/utilities.cpp
+++ b/utilities.cpp
@@ -1487,10 +1487,12 @@ int ImportGpGKeys(WPARAM w, LPARAM l)
return 1; //TODO: handle error
std::string key, login, contact;
key += line;
+ key += '\n';
while(file.is_open())
{
file.getline(line, 255);
key += line;
+ key += '\n';
if(strstr(line, "-----END PGP PUBLIC KEY BLOCK-----"))
{ //TODO: parse key
key.clear();