From 06986b774427ce82078fdfe6ba1b595183fc4926 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Mon, 30 Jul 2007 13:36:09 +0000 Subject: [PATCH] (svn r10736) -Fix: Correct all mispellings of 'successful'. --- src/console.cpp | 4 ++-- src/map.cpp | 4 ++-- src/misc_gui.cpp | 8 ++++---- src/network/network_udp.cpp | 2 +- src/os2.cpp | 2 +- src/win32.cpp | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/console.cpp b/src/console.cpp index f487ff021a..76c2562d82 100644 --- a/src/console.cpp +++ b/src/console.cpp @@ -463,7 +463,7 @@ void IConsoleError(const char *string) /** * Change a string into its number representation. Supports * decimal and hexadecimal numbers as well as 'on'/'off' 'true'/'false' - * @param *value the variable a successfull conversion will be put in + * @param *value the variable a successful conversion will be put in * @param *arg the string to be converted * @return Return true on success or false on failure */ @@ -517,7 +517,7 @@ static void IConsoleHookAdd(IConsoleHooks *hooks, IConsoleHookTypes type, IConso * there is a function associated with that and if so, execute it * @param hooks IConsoleHooks structure that will be checked * @param type type of hook, trigger that needs to be activated - * @return true on a successfull execution of the hook command or if there + * @return true on a successful execution of the hook command or if there * is no hook/trigger present at all. False otherwise */ static bool IConsoleHookHandle(const IConsoleHooks *hooks, IConsoleHookTypes type) diff --git a/src/map.cpp b/src/map.cpp index 5e511772f9..0c0964dfad 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -282,7 +282,7 @@ bool CircularTileSearch(TileIndex tile, uint size, TestTileOnSearchProc proc, ui n = 2; if (proc(TileXY(x, y), data)) return true; - /* If tile test is not successfull, get one tile down and left, + /* If tile test is not successful, get one tile down and left, * ready for a test in first circle around center tile */ x += _tileoffs_by_dir[DIR_W].x; y += _tileoffs_by_dir[DIR_W].y; @@ -300,7 +300,7 @@ bool CircularTileSearch(TileIndex tile, uint size, TestTileOnSearchProc proc, ui uint j; for (j = n; j != 0; j--) { if (x <= MapMaxX() && y <= MapMaxY() && ///< Is the tile within the map? - proc(TileXY(x, y), data)) { ///< Is the callback successfulll? + proc(TileXY(x, y), data)) { ///< Is the callback successful? return true; ///< then stop the search } diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp index beec1f8262..e5d7280258 100644 --- a/src/misc_gui.cpp +++ b/src/misc_gui.cpp @@ -859,7 +859,7 @@ static void DelChar(Textbuf *tb, bool backspace) * The character is delete from the position the caret is at * @param tb Textbuf type to be changed * @param delmode Type of deletion, either WKC_BACKSPACE or WKC_DELETE - * @return Return true on successfull change of Textbuf, or false otherwise + * @return Return true on successful change of Textbuf, or false otherwise */ bool DeleteTextBufferChar(Textbuf *tb, int delmode) { @@ -891,7 +891,7 @@ void DeleteTextBufferAll(Textbuf *tb) * length of the string * @param tb Textbuf type to be changed * @param key Character to be inserted - * @return Return true on successfull change of Textbuf, or false otherwise + * @return Return true on successful change of Textbuf, or false otherwise */ bool InsertTextBufferChar(Textbuf *tb, WChar key) { @@ -915,7 +915,7 @@ bool InsertTextBufferChar(Textbuf *tb, WChar key) * This defines where the caret will blink and the next characer interaction will occur * @param tb Textbuf type where navigation occurs * @param navmode Direction in which navigation occurs WKC_LEFT, WKC_RIGHT, WKC_END, WKC_HOME - * @return Return true on successfull change of Textbuf, or false otherwise + * @return Return true on successful change of Textbuf, or false otherwise */ bool MoveTextBufferPos(Textbuf *tb, int navmode) { @@ -1589,7 +1589,7 @@ static void SaveLoadDlgWndProc(Window *w, WindowEvent *e) ShowErrorMessage(INVALID_STRING_ID, STR_4008_UNABLE_TO_DELETE_FILE, 0, 0); } else { BuildFileList(); - /* Reset file name to current date on successfull delete */ + /* Reset file name to current date on successful delete */ if (_saveload_mode == SLD_SAVE_GAME) GenerateFileName(); } diff --git a/src/network/network_udp.cpp b/src/network/network_udp.cpp index 32bd26923a..5a1980a9d1 100644 --- a/src/network/network_udp.cpp +++ b/src/network/network_udp.cpp @@ -44,7 +44,7 @@ public: DEF_UDP_RECEIVE_COMMAND(Master, PACKET_UDP_MASTER_ACK_REGISTER) { _network_advertise_retries = 0; - DEBUG(net, 2, "[udp] advertising on master server successfull"); + DEBUG(net, 2, "[udp] advertising on master server successful"); /* We are advertised, but we don't want to! */ if (!_network_advertise) NetworkUDPRemoveAdvertise(); diff --git a/src/os2.cpp b/src/os2.cpp index 9b08e95143..7f26265875 100644 --- a/src/os2.cpp +++ b/src/os2.cpp @@ -173,7 +173,7 @@ int CDECL main(int argc, char* argv[]) * and append this up to the maximum length (either absolute or screenlength). If maxlength * is zero, we don't care about the screenlength but only about the physical length of the string * @param tb Textbuf type to be changed - * @return Return true on successfull change of Textbuf, or false otherwise + * @return Return true on successful change of Textbuf, or false otherwise */ bool InsertTextBufferClipboard(Textbuf *tb) { diff --git a/src/win32.cpp b/src/win32.cpp index 7848a49fcc..bcc1fda433 100644 --- a/src/win32.cpp +++ b/src/win32.cpp @@ -1016,7 +1016,7 @@ void DetermineBasePaths(const char *exe) * and append this up to the maximum length (either absolute or screenlength). If maxlength * is zero, we don't care about the screenlength but only about the physical length of the string * @param tb Textbuf type to be changed - * @return true on successfull change of Textbuf, or false otherwise + * @return true on successful change of Textbuf, or false otherwise */ bool InsertTextBufferClipboard(Textbuf *tb) {