From 6f45846975b0c1fdbeb285e42500ce9da4123475 Mon Sep 17 00:00:00 2001 From: jnahmias Date: Sun, 31 Jan 2021 23:57:24 -0500 Subject: [PATCH] fix spelling mistakes caught by lintian (#314) --- fceux-server/server.cpp | 4 ++-- src/drivers/Qt/HexEditor.cpp | 2 +- src/drivers/Qt/iNesHeaderEditor.cpp | 4 ++-- src/drivers/common/configSys.cpp | 2 +- src/fds.cpp | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/fceux-server/server.cpp b/fceux-server/server.cpp index 486056a0..e28531f7 100644 --- a/fceux-server/server.cpp +++ b/fceux-server/server.cpp @@ -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]); diff --git a/src/drivers/Qt/HexEditor.cpp b/src/drivers/Qt/HexEditor.cpp index fe9d80d3..a6b15ca3 100644 --- a/src/drivers/Qt/HexEditor.cpp +++ b/src/drivers/Qt/HexEditor.cpp @@ -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)) ); diff --git a/src/drivers/Qt/iNesHeaderEditor.cpp b/src/drivers/Qt/iNesHeaderEditor.cpp index 328449ea..c69f7e0c 100644 --- a/src/drivers/Qt/iNesHeaderEditor.cpp +++ b/src/drivers/Qt/iNesHeaderEditor.cpp @@ -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; diff --git a/src/drivers/common/configSys.cpp b/src/drivers/common/configSys.cpp index 44fec78b..02d7dfdd 100644 --- a/src/drivers/common/configSys.cpp +++ b/src/drivers/common/configSys.cpp @@ -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()); diff --git a/src/fds.cpp b/src/fds.cpp index 792b855b..95869216 100644 --- a/src/fds.cpp +++ b/src/fds.cpp @@ -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;