typo(fix): corrects common typos in project README files

This commit is contained in:
plan-do-break-fix 2021-04-25 16:44:36 -05:00 committed by Nyall Dawson
parent e3289f3bd2
commit f93b738ac9
2 changed files with 3 additions and 3 deletions

View File

@ -180,7 +180,7 @@ That's it. Tweets using the O2 library!
### Storing OAuth Tokens
O2 provides simple storage classes for writing OAuth tokens in a peristent location. Currently, a QSettings based backing store **O2SettingsStore** is provided in O2. O2SettingsStore keeps all token values in an encrypted form. You have to specify the encryption key to use while constructing the object:
O2 provides simple storage classes for writing OAuth tokens in a persistent location. Currently, a QSettings based backing store **O2SettingsStore** is provided in O2. O2SettingsStore keeps all token values in an encrypted form. You have to specify the encryption key to use while constructing the object:
O0SettingsStore settings = new O0SettingsStore("myencryptionkey");
// Set the store before starting OAuth, i.e before calling link()

View File

@ -148,8 +148,8 @@ A common example of usage is to check while initializing the library or showing
```cpp
WinToast::WinToastError error;
const bool succedded = WinToast::instance()->initialize(&error);
if (!succedded) {
const bool succeeded = WinToast::instance()->initialize(&error);
if (!succeeded) {
std::wcout << L"Error, could not initialize the lib. Error number: "
<< error << std::endl;
}