diff options
author | planetmaker <planetmaker@openttd.org> | 2013-01-08 22:46:42 +0000 |
---|---|---|
committer | planetmaker <planetmaker@openttd.org> | 2013-01-08 22:46:42 +0000 |
commit | c24374f99c22d9420d6d182ff835f07a5b954b48 (patch) | |
tree | 7043ad53c941668339a0949867e10888f9e54f16 /src/textbuf.cpp | |
parent | 89a2ba2a6d25e605c391e7343ba66090ee9f26de (diff) | |
download | openttd-c24374f99c22d9420d6d182ff835f07a5b954b48.tar.xz |
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
Diffstat (limited to 'src/textbuf.cpp')
-rw-r--r-- | src/textbuf.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/textbuf.cpp b/src/textbuf.cpp index fe32712dc..9b9eb2d6a 100644 --- a/src/textbuf.cpp +++ b/src/textbuf.cpp @@ -21,10 +21,10 @@ #include "core/alloc_func.hpp" /** - * Try to retrive the current clipboard contents. + * Try to retrieve the current clipboard contents. * - * @note OS-specific funtion. - * @return True if some text could be retrived. + * @note OS-specific function. + * @return True if some text could be retrieved. */ bool GetClipboardContents(char *buffer, size_t buff_len); @@ -221,7 +221,7 @@ bool Textbuf::InsertClipboard() } /** - * Checks if it is possible to move carret to the left + * Checks if it is possible to move caret to the left * @return true if the caret can be moved to the left, otherwise false. */ bool Textbuf::CanMoveCaretLeft() @@ -248,7 +248,7 @@ WChar Textbuf::MoveCaretLeft() } /** - * Checks if it is possible to move carret to the right + * Checks if it is possible to move caret to the right * @return true if the caret can be moved to the right, otherwise false. */ bool Textbuf::CanMoveCaretRight() @@ -275,7 +275,7 @@ WChar Textbuf::MoveCaretRight() /** * Handle text navigation with arrow keys left/right. - * This defines where the caret will blink and the next characer interaction will occur + * This defines where the caret will blink and the next character interaction will occur * @param navmode Direction in which navigation occurs (WKC_CTRL |) WKC_LEFT, (WKC_CTRL |) WKC_RIGHT, WKC_END, WKC_HOME * @return Return true on successful change of Textbuf, or false otherwise */ @@ -304,7 +304,7 @@ bool Textbuf::MovePos(int navmode) if (!this->CanMoveCaretLeft()) return true; c = this->MoveCaretLeft(); } - /* Place caret at the begining of the left word. */ + /* Place caret at the beginning of the left word. */ this->MoveCaretRight(); return true; } |