Skip to content

Commit eb9350f

Browse files
author
timeless%mozdev.org
committed
Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
1 parent 225781b commit eb9350f

File tree

86 files changed

+200
-200
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+200
-200
lines changed

editor/ui/dialogs/content/EdTableProps.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ function SelectCellHAlign()
445445
{
446446
SetCheckbox("CellHAlignCheckbox");
447447
// Once user changes the alignment,
448-
// we loose their original "CharAt" alignment"
448+
// we lose their original "CharAt" alignment"
449449
gAlignWasChar = false;
450450
}
451451

parser/htmlparser/public/nsIParserFilter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class nsIParserFilter : public nsISupports {
6666

6767
NS_IMETHOD WillAddToken(CToken & token) = 0;
6868

69-
NS_IMETHOD ProcessTokens( /* dont know what goes here yet */ void ) = 0;
69+
NS_IMETHOD ProcessTokens( /* don't know what goes here yet */ void ) = 0;
7070

7171
NS_IMETHOD Finish() = 0;
7272

parser/htmlparser/src/CNavDTD.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3067,7 +3067,7 @@ CNavDTD::CreateContextStackFor(eHTMLTags aChild)
30673067
if (eHTMLTag_unknown == theTop) {
30683068
result = BackwardPropagate(mScratch, eHTMLTag_html, aChild);
30693069
} else if (theTop != aChild) {
3070-
// Dont even bother if we're already inside a similar element...
3070+
// Don't even bother if we're already inside a similar element...
30713071
result = BackwardPropagate(mScratch, theTop, aChild);
30723072
}
30733073
}

parser/htmlparser/src/nsParser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1625,7 +1625,7 @@ nsParser::Parse(const nsAString& aSourceBuffer,
16251625
CParserContext* pc=0;
16261626

16271627
if((!mParserContext) || (mParserContext->mKey!=aKey)) {
1628-
//only make a new context if we dont have one, OR if we do, but has a different context key...
1628+
//only make a new context if we don't have one, OR if we do, but has a different context key...
16291629

16301630
nsScanner* theScanner = new nsScanner(mUnusedInput,mCharset,mCharsetSource);
16311631
NS_ENSURE_TRUE(theScanner, NS_ERROR_OUT_OF_MEMORY);

parser/htmlparser/src/nsParserNode.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ nsCParserNode::nsCParserNode(CToken* aToken,
8383

8484
/**
8585
* destructor
86-
* NOTE: We intentionally DONT recycle mToken here.
86+
* NOTE: We intentionally DON'T recycle mToken here.
8787
* It may get cached for use elsewhere
8888
* @update gess 3/25/98
8989
* @param

plugin/oji/MRJ/plugin/Source/BackwardAdapter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1272,7 +1272,7 @@ NPP_SetWindow(NPP instance, NPWindow* window)
12721272
// NPP_NewStream:
12731273
// Notifies an instance of a new data stream and returns an error value.
12741274
//
1275-
// Create a stream peer and stream. If succesful, save
1275+
// Create a stream peer and stream. If successful, save
12761276
// the stream peer in NPStream's pdata.
12771277
//+++++++++++++++++++++++++++++++++++++++++++++++++
12781278

rdf/chrome/src/nsChromeRegistry.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2811,7 +2811,7 @@ nsChromeRegistry::GetProfileRoot(nsACString& aFileURL)
28112811
const nsAFlatCString& empty = EmptyCString();
28122812

28132813
// copy along
2814-
// It aint an error if these files dont exist
2814+
// It ain't an error if these files don't exist
28152815
defaultUserContentFile->CopyToNative(userChromeDir, empty);
28162816
defaultUserChromeFile->CopyToNative(userChromeDir, empty);
28172817
}

toolkit/components/filepicker/content/filepicker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,7 @@ function toggleShowHidden(event) {
762762

763763
// from the current directory and whatever was entered
764764
// in the entry field, try to make a new path. This
765-
// uses "/" as the directory seperator, "~" as a shortcut
765+
// uses "/" as the directory separator, "~" as a shortcut
766766
// for the home directory (but only when seen at the start
767767
// of a path), and ".." to denote the parent directory.
768768
// returns an array of the files listed,

toolkit/mozapps/installer/unix/wizard/nsWelcomeDlg.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ nsWelcomeDlg::Show(int aDirection)
228228

229229
free(msgText);
230230

231-
// Now add 100px of padding, and then the last mesage.
231+
// Now add 100px of padding, and then the last message.
232232
spacer = gtk_alignment_new(0.0, 0.0, 0.0, 0.0);
233233
gtk_widget_set_size_request(spacer, -1, 110);
234234
gtk_box_pack_start(GTK_BOX(vbox), spacer, FALSE, FALSE, 0);

toolkit/mozapps/installer/windows/wizard/uninstall/dialogs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ void ParseDefaultsInfo()
7474
int iIndex;
7575
DWORD dwIconsVisible;
7676

77-
// If szAppPath is a null sting, i.e. we cannot find where the app has been installed:
77+
// If szAppPath is a null string, i.e. we cannot find where the app has been installed:
7878
// - HIDEICONS will still remove the shortcuts but
7979
// - SHOWICONS will do nothing because we won't be able to find the shortcuts to display.
8080
ParsePath(ugUninstall.szAppPath, szStorageDir, MAX_BUF, PP_PATH_ONLY);

0 commit comments

Comments
 (0)