Fixed typos

This commit is contained in:
AlexandreRouma
2021-09-20 19:59:35 +02:00
parent 9ee0951874
commit 049fc77ff6
21 changed files with 37 additions and 383 deletions

View File

@ -17,7 +17,7 @@ void SourceManager::registerSource(std::string name, SourceHandler* handler) {
void SourceManager::unregisterSource(std::string name) {
if (sources.find(name) == sources.end()) {
spdlog::error("Tried to unregister non existant source: {0}", name);
spdlog::error("Tried to unregister non existent source: {0}", name);
return;
}
onSourceUnregister.emit(name);
@ -40,7 +40,7 @@ std::vector<std::string> SourceManager::getSourceNames() {
void SourceManager::selectSource(std::string name) {
if (sources.find(name) == sources.end()) {
spdlog::error("Tried to select non existant source: {0}", name);
spdlog::error("Tried to select non existent source: {0}", name);
return;
}
if (selectedHandler != NULL) {