From 73f47a2c04432e27183eeea4dfe2b790ef4275e6 Mon Sep 17 00:00:00 2001 From: Don Ho Date: Mon, 6 Apr 2015 01:49:53 +0200 Subject: [PATCH] [BUG_FIXED] Fix Setting on Cloud for dropbox not working issue. --- PowerEditor/src/MISC/Common/Common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PowerEditor/src/MISC/Common/Common.cpp b/PowerEditor/src/MISC/Common/Common.cpp index 8955d0f8f..25bd616c8 100644 --- a/PowerEditor/src/MISC/Common/Common.cpp +++ b/PowerEditor/src/MISC/Common/Common.cpp @@ -58,7 +58,7 @@ std::string getFileContent(const TCHAR *file2read) if (lenFile >= blockSize - 1) data[blockSize - 1] = '\0'; else - data[lenFile - 1] = '\0'; + data[lenFile] = '\0'; wholeFileContent += data;