mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r10736) -Fix: Correct all mispellings of 'successful'.
This commit is contained in:
parent
92061aba4e
commit
06986b7744
|
@ -463,7 +463,7 @@ void IConsoleError(const char *string)
|
||||||
/**
|
/**
|
||||||
* Change a string into its number representation. Supports
|
* Change a string into its number representation. Supports
|
||||||
* decimal and hexadecimal numbers as well as 'on'/'off' 'true'/'false'
|
* 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
|
* @param *arg the string to be converted
|
||||||
* @return Return true on success or false on failure
|
* @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
|
* there is a function associated with that and if so, execute it
|
||||||
* @param hooks IConsoleHooks structure that will be checked
|
* @param hooks IConsoleHooks structure that will be checked
|
||||||
* @param type type of hook, trigger that needs to be activated
|
* @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
|
* is no hook/trigger present at all. False otherwise
|
||||||
*/
|
*/
|
||||||
static bool IConsoleHookHandle(const IConsoleHooks *hooks, IConsoleHookTypes type)
|
static bool IConsoleHookHandle(const IConsoleHooks *hooks, IConsoleHookTypes type)
|
||||||
|
|
|
@ -282,7 +282,7 @@ bool CircularTileSearch(TileIndex tile, uint size, TestTileOnSearchProc proc, ui
|
||||||
n = 2;
|
n = 2;
|
||||||
if (proc(TileXY(x, y), data)) return true;
|
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 */
|
* ready for a test in first circle around center tile */
|
||||||
x += _tileoffs_by_dir[DIR_W].x;
|
x += _tileoffs_by_dir[DIR_W].x;
|
||||||
y += _tileoffs_by_dir[DIR_W].y;
|
y += _tileoffs_by_dir[DIR_W].y;
|
||||||
|
@ -300,7 +300,7 @@ bool CircularTileSearch(TileIndex tile, uint size, TestTileOnSearchProc proc, ui
|
||||||
uint j;
|
uint j;
|
||||||
for (j = n; j != 0; j--) {
|
for (j = n; j != 0; j--) {
|
||||||
if (x <= MapMaxX() && y <= MapMaxY() && ///< Is the tile within the map?
|
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
|
return true; ///< then stop the search
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -859,7 +859,7 @@ static void DelChar(Textbuf *tb, bool backspace)
|
||||||
* The character is delete from the position the caret is at
|
* The character is delete from the position the caret is at
|
||||||
* @param tb Textbuf type to be changed
|
* @param tb Textbuf type to be changed
|
||||||
* @param delmode Type of deletion, either WKC_BACKSPACE or WKC_DELETE
|
* @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)
|
bool DeleteTextBufferChar(Textbuf *tb, int delmode)
|
||||||
{
|
{
|
||||||
|
@ -891,7 +891,7 @@ void DeleteTextBufferAll(Textbuf *tb)
|
||||||
* length of the string
|
* length of the string
|
||||||
* @param tb Textbuf type to be changed
|
* @param tb Textbuf type to be changed
|
||||||
* @param key Character to be inserted
|
* @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)
|
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
|
* This defines where the caret will blink and the next characer interaction will occur
|
||||||
* @param tb Textbuf type where navigation occurs
|
* @param tb Textbuf type where navigation occurs
|
||||||
* @param navmode Direction in which navigation occurs WKC_LEFT, WKC_RIGHT, WKC_END, WKC_HOME
|
* @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)
|
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);
|
ShowErrorMessage(INVALID_STRING_ID, STR_4008_UNABLE_TO_DELETE_FILE, 0, 0);
|
||||||
} else {
|
} else {
|
||||||
BuildFileList();
|
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();
|
if (_saveload_mode == SLD_SAVE_GAME) GenerateFileName();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,7 @@ public:
|
||||||
DEF_UDP_RECEIVE_COMMAND(Master, PACKET_UDP_MASTER_ACK_REGISTER)
|
DEF_UDP_RECEIVE_COMMAND(Master, PACKET_UDP_MASTER_ACK_REGISTER)
|
||||||
{
|
{
|
||||||
_network_advertise_retries = 0;
|
_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! */
|
/* We are advertised, but we don't want to! */
|
||||||
if (!_network_advertise) NetworkUDPRemoveAdvertise();
|
if (!_network_advertise) NetworkUDPRemoveAdvertise();
|
||||||
|
|
|
@ -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
|
* 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
|
* 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
|
* @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)
|
bool InsertTextBufferClipboard(Textbuf *tb)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1016,7 +1016,7 @@ void DetermineBasePaths(const char *exe)
|
||||||
* and append this up to the maximum length (either absolute or screenlength). If maxlength
|
* 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
|
* 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
|
* @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)
|
bool InsertTextBufferClipboard(Textbuf *tb)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue