kopia lustrzana https://github.com/AlexandreRouma/SDRPlusPlus
Fix spelling errors
Fixed with codespell --ignore-words-list=hist,parm,sur --skip=./core/src/imgui,./core/src/json.hpp,./core/libcorrect,./core/src/spdlog,./misc_modules/discord_integration/discord-rpc,./misc_modules/discord_integration/discord-rpc/include/rapidjson,./source_modules/sddc_source/src/libsddc --write-changespull/802/head
rodzic
79a15ed186
commit
55b468a02e
|
@ -368,7 +368,7 @@ namespace backend {
|
|||
|
||||
jint jni_return = java_vm->GetEnv((void**)&java_env, JNI_VERSION_1_6);
|
||||
if (jni_return == JNI_ERR)
|
||||
throw std::runtime_error("Could not get JNI environement");
|
||||
throw std::runtime_error("Could not get JNI environment");
|
||||
|
||||
jni_return = java_vm->AttachCurrentThread(&java_env, NULL);
|
||||
if (jni_return != JNI_OK)
|
||||
|
@ -380,7 +380,7 @@ namespace backend {
|
|||
|
||||
jmethodID method_id = java_env->GetMethodID(native_activity_clazz, "getAppDir", "()Ljava/lang/String;");
|
||||
if (method_id == NULL)
|
||||
throw std::runtime_error("Could not get methode ID");
|
||||
throw std::runtime_error("Could not get method ID");
|
||||
|
||||
jstring jstr = (jstring)java_env->CallObjectMethod(app->activity->clazz, method_id);
|
||||
|
||||
|
|
|
@ -79,7 +79,7 @@ int CommandArgsParser::parse(int argc, char* argv[]) {
|
|||
carg.bval = true;
|
||||
}
|
||||
else {
|
||||
printf("Invald argument, expected bool (true, false, on, off, 1, 0)\n");
|
||||
printf("Invalid argument, expected bool (true, false, on, off, 1, 0)\n");
|
||||
showHelp();
|
||||
return -1;
|
||||
}
|
||||
|
@ -89,7 +89,7 @@ int CommandArgsParser::parse(int argc, char* argv[]) {
|
|||
carg.ival = std::stoi(arg);
|
||||
}
|
||||
catch (std::exception e) {
|
||||
printf("Invald argument, failed to parse integer\n");
|
||||
printf("Invalid argument, failed to parse integer\n");
|
||||
showHelp();
|
||||
return -1;
|
||||
}
|
||||
|
@ -99,7 +99,7 @@ int CommandArgsParser::parse(int argc, char* argv[]) {
|
|||
carg.fval = std::stod(arg);
|
||||
}
|
||||
catch (std::exception e) {
|
||||
printf("Invald argument, failed to parse float\n");
|
||||
printf("Invalid argument, failed to parse float\n");
|
||||
showHelp();
|
||||
return -1;
|
||||
}
|
||||
|
|
|
@ -327,7 +327,7 @@ int sdrpp_main(int argc, char* argv[]) {
|
|||
int biRes = backend::init(resDir);
|
||||
if (biRes < 0) { return biRes; }
|
||||
|
||||
// Intialize SmGui in normal mode
|
||||
// Initialize SmGui in normal mode
|
||||
SmGui::init(false);
|
||||
|
||||
if (!style::loadFonts(resDir)) { return -1; }
|
||||
|
|
|
@ -83,7 +83,7 @@ namespace server {
|
|||
core::configManager.release();
|
||||
modulesDir = std::filesystem::absolute(modulesDir).string();
|
||||
|
||||
// Intialize SmGui in server mode
|
||||
// Initialize SmGui in server mode
|
||||
SmGui::init(true);
|
||||
|
||||
spdlog::info("Loading modules");
|
||||
|
|
Ładowanie…
Reference in New Issue