Skip to content

Commit 339ef7b

Browse files
authored
Merge pull request #26 from irwir/updates
Fix spelling in comments and documentation
2 parents bfbe265 + 87334c1 commit 339ef7b

9 files changed

Lines changed: 19 additions & 19 deletions

ResizableLib/Doxyfile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ OUTPUT_DIRECTORY = .\Docs
3838
# The default language is English, other supported languages are:
3939
# Brazilian, Catalan, Chinese, Chinese-Traditional, Croatian, Czech, Danish, Dutch,
4040
# Finnish, French, German, Greek, Hungarian, Italian, Japanese, Japanese-en
41-
# (Japanese with english messages), Korean, Norwegian, Polish, Portuguese,
41+
# (Japanese with English messages), Korean, Norwegian, Polish, Portuguese,
4242
# Romanian, Russian, Serbian, Slovak, Slovene, Spanish, Swedish and Ukrainian.
4343

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

161161
CASE_SENSE_NAMES = NO
162162

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

193193
JAVADOC_AUTOBRIEF = NO
194194

@@ -384,7 +384,7 @@ RECURSIVE = YES
384384
EXCLUDE =
385385

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

389389
EXCLUDE_SYMLINKS = NO
390390

@@ -711,7 +711,7 @@ COMPACT_RTF = NO
711711
RTF_HYPERLINKS = NO
712712

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

717717
RTF_STYLESHEET_FILE =
@@ -915,7 +915,7 @@ EXPAND_AS_DEFINED =
915915
SKIP_FUNCTION_MACROS = YES
916916

917917
#---------------------------------------------------------------------------
918-
# Configuration::addtions related to external references
918+
# Configuration::additions related to external references
919919
#---------------------------------------------------------------------------
920920

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

953953
EXTERNAL_GROUPS = YES
954954

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

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

970970
CLASS_DIAGRAMS = YES

ResizableLib/ResizableDialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ BOOL CResizableDialog::OnNcCreate(LPCREATESTRUCT lpCreateStruct)
8282
if (!CreateSizeGrip(!bChild))
8383
return FALSE;
8484

85-
// 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.
85+
// 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.
8686
MakeResizable(lpCreateStruct);
8787

8888
if (!bChild)

ResizableLib/ResizableLayout.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ inline CWnd* GetRootParentWnd(CWnd* pWnd)
397397
* area to avoid flickering.
398398
*
399399
* @param pDC Pointer to the target device context
400-
* @param bUndo Flag that specifies wether to restore the clipping region
400+
* @param bUndo Flag that specifies whether to restore the clipping region
401401
*
402402
* @return The return value is @c TRUE if the clipping region has been
403403
* modified, @c FALSE otherwise
@@ -774,10 +774,10 @@ BOOL CResizableLayout::GetAnchorMargins(HWND hWnd, const CSize &sizeChild, CRect
774774
* @c LikesClipping only once, and the @a refresh property as
775775
* dynamic, causing @c NeedsRefresh to be called every time.
776776
* @n This should be right for most situations, as the need for
777-
* @a refresh usually depends on the size fo a control, while the
777+
* @a refresh usually depends on the size of the control, while the
778778
* support for @a clipping is usually linked to the specific type
779779
* of control, which is unlikely to change at run-time, but you can
780-
* still override this function if a different beahvior is needed.
780+
* still override this function if a different behaviour is needed.
781781
*
782782
* @sa LikesClipping NeedsRefresh LAYOUTINFO RESIZEPROPERTIES
783783
*/
@@ -846,7 +846,7 @@ void CResizableLayout::MakeResizable(LPCREATESTRUCT lpCreateStruct) const
846846
* This function should be called inside the parent window @c WM_NCCALCSIZE
847847
* message handler to help eliminate flickering.
848848
*
849-
* @param bAfterDefault Flag that specifies wether the call is made before
849+
* @param bAfterDefault Flag that specifies whether the call is made before
850850
* or after the default handler
851851
* @param lpncsp Pointer to the @c NCCALCSIZE_PARAMS structure that is
852852
* passed to the message handler

ResizableLib/ResizableMsgSupport.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ static char THIS_FILE[] = __FILE__;
2727
/////////////////////////////////////////////////////////////////////////////
2828
// Registered message to communicate with the library
2929

30-
// static intializer must be called before user code
30+
// static initializer must be called before user code
3131
#pragma warning(disable:4073)
3232
#pragma init_seg(lib)
3333

ResizableLib/ResizableMsgSupport.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
typedef struct tagRESIZEPROPERTIES
2626
{
27-
// wether to ask for resizing properties every time
27+
// whether to ask for resizing properties every time
2828
BOOL bAskClipping;
2929
BOOL bAskRefresh;
3030
// otherwise, use the cached properties

ResizableLib/ResizablePageEx.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ void CResizablePageEx::OnDestroy()
123123

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

128128
HBRUSH hbr = CPropertyPageEx::OnCtlColor(pDC, pWnd, nCtlColor);
129129
if (hbr && (m_psp.dwFlags & PSP_HIDEHEADER))

ResizableLib/ResizableSheetEx.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ LRESULT CResizableSheetEx::OnResizeSupport(WPARAM wParam, LPARAM lParam)
135135
if (pWnd == NULL)
136136
return 0;
137137

138-
// suclass the window again and refresh page and sheet
138+
// subclass the window again and refresh page and sheet
139139
pWnd->SubclassWindow(pWnd->Detach());
140140
RefreshLayout();
141141
pWnd->SendMessage(WM_SIZE);

ResizableLib/ResizableVersion.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
//////////////////////////////////////////////////////////////////////
2222
// Static initializer object (with macros to hide in ClassView)
2323

24-
// static intializer must be called before user code
24+
// static initializer must be called before user code
2525
#pragma warning(disable:4073)
2626
#pragma init_seg(lib)
2727

ResizableLib/ResizableWndState.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ BOOL CResizableWndState::SaveWindowRect(LPCTSTR pszName, BOOL bRectOnly)
9191
* GetWindowPlacement and SetWindowPlacement.
9292
*
9393
* @param pszName String that identifies stored settings
94-
* @param bRectOnly Flag that specifies wether to ignore min/max state
94+
* @param bRectOnly Flag that specifies whether to ignore min/max state
9595
*
9696
* @return Returns @a TRUE if successful, @a FALSE otherwise
9797
*/

0 commit comments

Comments
 (0)