fix spelling mistakes caught by lintian (#314)

This commit is contained in:
jnahmias 2021-01-31 23:57:24 -05:00 committed by GitHub
parent 215f64eab3
commit 6f45846975
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 8 deletions

View File

@ -753,7 +753,7 @@ int main(int argc, char *argv[])
i++;
if(argc == i)
{
printf("Please specify the maximium ammount of clients.\n");
printf("Please specify the maximium amount of clients.\n");
return -1;
}
ServerConfig.MaxClients = atoi(argv[i]);
@ -764,7 +764,7 @@ int main(int argc, char *argv[])
i++;
if(argc == i)
{
printf("Please specify the conenction timeout time in seconds.\n");
printf("Please specify the connection timeout time in seconds.\n");
return -1;
}
ServerConfig.ConnectTimeout = atoi(argv[i]);

View File

@ -907,7 +907,7 @@ HexEditorDialog_t::HexEditorDialog_t(QWidget *parent)
fileMenu->addAction(saveROM);
// File -> Goto Address
gotoAddrAct = new QAction(tr("Goto Addresss"), this);
gotoAddrAct = new QAction(tr("Goto Address"), this);
gotoAddrAct->setShortcut(QKeySequence(tr("Ctrl+A")));
gotoAddrAct->setStatusTip(tr("Goto Address"));
connect(gotoAddrAct, SIGNAL(triggered()), this, SLOT(openGotoAddrDialog(void)) );

View File

@ -1904,12 +1904,12 @@ bool iNesHeaderEditor_t::WriteHeaderData(iNES_HEADER* header)
int misc_roms = 0;
if (sscanf(buf, "%d", &misc_roms) < 1)
{
showErrorMsgWindow("Invalid miscellanous ROM(s) count. If you don't know what value should be, we recommend to set it to 0.");
showErrorMsgWindow("Invalid miscellaneous ROM(s) count. If you don't know what value should be, we recommend to set it to 0.");
return false;
}
if (misc_roms > 3)
{
showErrorMsgWindow("Miscellanous ROM(s) count has exceeded the limit of iNES 2.0 (3)");
showErrorMsgWindow("Miscellaneous ROM(s) count has exceeded the limit of iNES 2.0 (3)");
return false;
}
_header.reserved[0] |= misc_roms & 3;

View File

@ -576,7 +576,7 @@ Config::parse(int argc,
// TODO 0 = good -1 = bad
std::string fname = cfgd_dir_name + dir->d_name;
printf("Loading auxilary configuration file at %s...\n", fname.c_str());
printf("Loading auxiliary configuration file at %s...\n", fname.c_str());
if (_loadFile(fname.c_str()) != 0)
{
printf("Failed to parse configuration at %s\n", fname.c_str());

View File

@ -860,10 +860,10 @@ int FDSLoad(const char *name, FCEUFILE *fp) {
}
if ((tp = FCEU_fopen(fn, 0, "rb", 0))) {
FCEU_printf("Disk was written. Auxillary FDS file open \"%s\".\n",fn);
FCEU_printf("Disk was written. Auxiliary FDS file open \"%s\".\n",fn);
FreeFDSMemory();
if (SubLoad(tp)) {
FCEU_PrintError("Error reading auxillary FDS file.");
FCEU_PrintError("Error reading auxiliary FDS file.");
if(FDSBIOS)
free(FDSBIOS);
FDSBIOS = NULL;