Added full stop for notification #4745

This commit is contained in:
Jerry (Xinyu Hou)
2015-06-02 11:18:21 -07:00
parent f42b756b0e
commit 8d0fdee5ce
4 changed files with 8 additions and 8 deletions

View File

@@ -38,18 +38,18 @@ DropHelper::writeToDir(const String& destination, DragFileList& fileList, String
file.open(dropTarget.c_str(), std::ios::out | std::ios::binary);
if (!file.is_open()) {
LOG((CLOG_ERR "drop file failed: can not open %s", dropTarget.c_str()));
LOG((CLOG_NOTIFY "File Transmission Failed: Can not open %s", dropTarget.c_str()));
LOG((CLOG_NOTIFY "File Transmission Failed: Can not open %s.", dropTarget.c_str()));
}
file.write(data.c_str(), data.size());
file.close();
LOG((CLOG_NOTIFY "File Transmission Complete: %s is saved to %s", fileList.at(0).getFilename().c_str(), destination.c_str()));
LOG((CLOG_NOTIFY "File Transmission Complete: %s is saved to %s.", fileList.at(0).getFilename().c_str(), destination.c_str()));
fileList.clear();
}
else {
LOG((CLOG_ERR "drop file failed: drop target is empty"));
LOG((CLOG_NOTIFY "File Transmission Failed: Drop target is empty"));
LOG((CLOG_NOTIFY "File Transmission Failed: Drop target is empty."));
}
}