Skip to content

Commit

Permalink
Merge pull request #26 from irwir/updates
Browse files Browse the repository at this point in the history
Fix spelling in comments and documentation
  • Loading branch information
ppescher committed Jun 30, 2020
2 parents bfbe265 + 87334c1 commit 339ef7b
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 19 deletions.
16 changes: 8 additions & 8 deletions ResizableLib/Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ OUTPUT_DIRECTORY = .\Docs
# The default language is English, other supported languages are:
# Brazilian, Catalan, Chinese, Chinese-Traditional, Croatian, Czech, Danish, Dutch,
# Finnish, French, German, Greek, Hungarian, Italian, Japanese, Japanese-en
# (Japanese with english messages), Korean, Norwegian, Polish, Portuguese,
# (Japanese with English messages), Korean, Norwegian, Polish, Portuguese,
# Romanian, Russian, Serbian, Slovak, Slovene, Spanish, Swedish and Ukrainian.

OUTPUT_LANGUAGE = English
Expand Down Expand Up @@ -156,7 +156,7 @@ INTERNAL_DOCS = YES
# file names in lower case letters. If set to YES upper case letters are also
# allowed. This is useful if you have classes or files whose names only differ
# in case and if your file system supports case sensitive file names. Windows
# users are adviced to set this option to NO.
# users are advised to set this option to NO.

CASE_SENSE_NAMES = NO

Expand Down Expand Up @@ -188,7 +188,7 @@ SHOW_INCLUDE_FILES = YES
# will interpret the first line (until the first dot) of a JavaDoc-style
# comment as the brief description. If set to NO, the JavaDoc
# comments will behave just like the Qt-style comments (thus requiring an
# explict @brief command for a brief description.
# explicit @brief command for a brief description.

JAVADOC_AUTOBRIEF = NO

Expand Down Expand Up @@ -384,7 +384,7 @@ RECURSIVE = YES
EXCLUDE =

# The EXCLUDE_SYMLINKS tag can be used select whether or not files or directories
# that are symbolic links (a Unix filesystem feature) are excluded from the input.
# that are symbolic links (a Unix file system feature) are excluded from the input.

EXCLUDE_SYMLINKS = NO

Expand Down Expand Up @@ -711,7 +711,7 @@ COMPACT_RTF = NO
RTF_HYPERLINKS = NO

# Load stylesheet definitions from file. Syntax is similar to doxygen's
# config file, i.e. a series of assigments. You only have to provide
# config file, i.e. a series of assignments. You only have to provide
# replacements, missing definitions are set to their default value.

RTF_STYLESHEET_FILE =
Expand Down Expand Up @@ -915,7 +915,7 @@ EXPAND_AS_DEFINED =
SKIP_FUNCTION_MACROS = YES

#---------------------------------------------------------------------------
# Configuration::addtions related to external references
# Configuration::additions related to external references
#---------------------------------------------------------------------------

# The TAGFILES option can be used to specify one or more tagfiles.
Expand Down Expand Up @@ -952,7 +952,7 @@ ALLEXTERNALS = NO

EXTERNAL_GROUPS = YES

# The PERL_PATH should be the absolute path and name of the perl script
# The PERL_PATH should be the absolute path and name of the Perl script
# interpreter (i.e. the result of `which perl').

PERL_PATH = /usr/bin/perl
Expand All @@ -964,7 +964,7 @@ PERL_PATH = /usr/bin/perl
# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will
# generate a inheritance diagram (in Html, RTF and LaTeX) for classes with base or
# super classes. Setting the tag to NO turns the diagrams off. Note that this
# option is superceded by the HAVE_DOT option below. This is only a fallback. It is
# option is superseded by the HAVE_DOT option below. This is only a fallback. It is
# recommended to install and use dot, since it yield more powerful graphs.

CLASS_DIAGRAMS = YES
Expand Down
2 changes: 1 addition & 1 deletion ResizableLib/ResizableDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ BOOL CResizableDialog::OnNcCreate(LPCREATESTRUCT lpCreateStruct)
if (!CreateSizeGrip(!bChild))
return FALSE;

// Moved from behind if (!bChild) because user could resize the dialog smaller as in resource defined and that causes some static text to be clipped or dissapear.
// Moved from behind if (!bChild) because user could resize the dialog smaller as in resource defined and that causes some static text to be clipped or disappear.
MakeResizable(lpCreateStruct);

if (!bChild)
Expand Down
8 changes: 4 additions & 4 deletions ResizableLib/ResizableLayout.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ inline CWnd* GetRootParentWnd(CWnd* pWnd)
* area to avoid flickering.
*
* @param pDC Pointer to the target device context
* @param bUndo Flag that specifies wether to restore the clipping region
* @param bUndo Flag that specifies whether to restore the clipping region
*
* @return The return value is @c TRUE if the clipping region has been
* modified, @c FALSE otherwise
Expand Down Expand Up @@ -774,10 +774,10 @@ BOOL CResizableLayout::GetAnchorMargins(HWND hWnd, const CSize &sizeChild, CRect
* @c LikesClipping only once, and the @a refresh property as
* dynamic, causing @c NeedsRefresh to be called every time.
* @n This should be right for most situations, as the need for
* @a refresh usually depends on the size fo a control, while the
* @a refresh usually depends on the size of the control, while the
* support for @a clipping is usually linked to the specific type
* of control, which is unlikely to change at run-time, but you can
* still override this function if a different beahvior is needed.
* still override this function if a different behaviour is needed.
*
* @sa LikesClipping NeedsRefresh LAYOUTINFO RESIZEPROPERTIES
*/
Expand Down Expand Up @@ -846,7 +846,7 @@ void CResizableLayout::MakeResizable(LPCREATESTRUCT lpCreateStruct) const
* This function should be called inside the parent window @c WM_NCCALCSIZE
* message handler to help eliminate flickering.
*
* @param bAfterDefault Flag that specifies wether the call is made before
* @param bAfterDefault Flag that specifies whether the call is made before
* or after the default handler
* @param lpncsp Pointer to the @c NCCALCSIZE_PARAMS structure that is
* passed to the message handler
Expand Down
2 changes: 1 addition & 1 deletion ResizableLib/ResizableMsgSupport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ static char THIS_FILE[] = __FILE__;
/////////////////////////////////////////////////////////////////////////////
// Registered message to communicate with the library

// static intializer must be called before user code
// static initializer must be called before user code
#pragma warning(disable:4073)
#pragma init_seg(lib)

Expand Down
2 changes: 1 addition & 1 deletion ResizableLib/ResizableMsgSupport.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

typedef struct tagRESIZEPROPERTIES
{
// wether to ask for resizing properties every time
// whether to ask for resizing properties every time
BOOL bAskClipping;
BOOL bAskRefresh;
// otherwise, use the cached properties
Expand Down
2 changes: 1 addition & 1 deletion ResizableLib/ResizablePageEx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ void CResizablePageEx::OnDestroy()

HBRUSH CResizablePageEx::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor)
{
// NOTE: this message couldn't be catched without the above hack
// NOTE: this message couldn't be caught without the above hack

HBRUSH hbr = CPropertyPageEx::OnCtlColor(pDC, pWnd, nCtlColor);
if (hbr && (m_psp.dwFlags & PSP_HIDEHEADER))
Expand Down
2 changes: 1 addition & 1 deletion ResizableLib/ResizableSheetEx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ LRESULT CResizableSheetEx::OnResizeSupport(WPARAM wParam, LPARAM lParam)
if (pWnd == NULL)
return 0;

// suclass the window again and refresh page and sheet
// subclass the window again and refresh page and sheet
pWnd->SubclassWindow(pWnd->Detach());
RefreshLayout();
pWnd->SendMessage(WM_SIZE);
Expand Down
2 changes: 1 addition & 1 deletion ResizableLib/ResizableVersion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
//////////////////////////////////////////////////////////////////////
// Static initializer object (with macros to hide in ClassView)

// static intializer must be called before user code
// static initializer must be called before user code
#pragma warning(disable:4073)
#pragma init_seg(lib)

Expand Down
2 changes: 1 addition & 1 deletion ResizableLib/ResizableWndState.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ BOOL CResizableWndState::SaveWindowRect(LPCTSTR pszName, BOOL bRectOnly)
* GetWindowPlacement and SetWindowPlacement.
*
* @param pszName String that identifies stored settings
* @param bRectOnly Flag that specifies wether to ignore min/max state
* @param bRectOnly Flag that specifies whether to ignore min/max state
*
* @return Returns @a TRUE if successful, @a FALSE otherwise
*/
Expand Down

0 comments on commit 339ef7b

Please sign in to comment.