Skip to content

Commit ce11787

Browse files
authored
Merge pull request #456 from luzpaz/various-typos
Fix various typos
2 parents 76a804d + aa941ed commit ce11787

File tree

10 files changed

+20
-20
lines changed

10 files changed

+20
-20
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ At this point in time, the only platform for which the project distributes pre-b
5050
obtained via http://www.povray.org/download/. We do intend to provide Mac OS X
5151
binaries shortly, but these will be console-mode only (based on the unix build).
5252

53-
Official Windows binaries of selected development versions are made availabe at
53+
Official Windows binaries of selected development versions are made available at
5454
https://github.com/POV-Ray/povray/releases on a semi-irregular basis.
5555

5656
Building POV-Ray

source/frontend/configfrontend.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
#endif
8282

8383
/// @def DEFAULT_DISPLAY_GAMMA
84-
/// Gamma curve numerial parameter.
84+
/// Gamma curve numerical parameter.
8585
///
8686
/// If @ref DEFAULT_DISPLAY_GAMMA_TYPE is set to @ref kPOVList_GammaType_PowerLaw,
8787
/// this is the overall effective gamma of the display system.

source/frontend/renderfrontend.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ RenderFrontendBase::SceneId RenderFrontendBase::CreateScene(SceneData& shd, POVM
241241
if(obj.Exist(kPOVAttrib_AllConsole))
242242
{
243243
bool b = obj.GetBool(kPOVAttrib_AllConsole);
244-
// NEVERE disable copyright banner BANNER_STREAM stream! [trf]
244+
// NEVER disable copyright banner BANNER_STREAM stream! [trf]
245245
shd.consoleoutput[DEBUG_STREAM] = b;
246246
shd.consoleoutput[FATAL_STREAM] = b;
247247
shd.consoleoutput[RENDER_STREAM] = b;

source/frontend/shelloutprocessing.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ bool ShelloutProcessing::KillShellouts(int timeout, bool force)
651651
// you should reap any processes in your destructor in case CollectCommand doesn't
652652
// get called.
653653
//
654-
// if the platform implemeting a subclass of this method has the equivalent of a
654+
// if the platform implementing a subclass of this method has the equivalent of a
655655
// system log (e.g. syslog on unix, event log on windows), the implementation should
656656
// consider providing a user-controllable option to log any commands using such.
657657
bool ShelloutProcessing::ExecuteCommand(const std::string& cmd, const std::string& params)

source/frontend/shelloutprocessing.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ class ShelloutProcessing
303303
// you should reap any processes in your destructor in case CollectCommand doesn't
304304
// get called.
305305
//
306-
// if the platform implemeting a subclass of this method has the equivalent of a
306+
// if the platform implementing a subclass of this method has the equivalent of a
307307
// system log (e.g. syslog on unix, event log on windows), the implementation should
308308
// consider providing a user-controllable option to log any commands using such.
309309
virtual bool ExecuteCommand(const std::string& cmd, const std::string& params);

source/parser/fncode.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ void FNCode::SetFlag(unsigned int flag, char *str)
498498
*
499499
* DESCRIPTION
500500
*
501-
* Compiles an expression (sub-) tree recursivly.
501+
* Compiles an expression (sub-) tree recursively.
502502
*
503503
* CHANGES
504504
*
@@ -1181,7 +1181,7 @@ void FNCode::compile_select(ExprNode *expr)
11811181
* INPUT
11821182
*
11831183
* expr - list of function parameters
1184-
* op - operation to perfrom on value and result for each step
1184+
* op - operation to perform on value and result for each step
11851185
* neutral - neutral element of the operation to apply
11861186
*
11871187
* OUTPUT

source/parser/parser.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ void Parser::Destroy_Frame()
619619
// This is necessary as a user who hits CANCEL during any IO performed
620620
// by this routine (e.g. Destroy_Object(), which can complain about
621621
// isosurface max_gradient), will cause this routine to be entered again
622-
// before the relevent data member has been set to `nullptr` (this is able
622+
// before the relevant data member has been set to `nullptr` (this is able
623623
// to happen since cancel will invoke a longjmp on most platforms).
624624
// This causes the currently-executing segment to be destroyed twice,
625625
// which is a Bad Thing(tm). [CJC 11/01]
@@ -8868,12 +8868,12 @@ void Parser::Link_Textures (TEXTURE **Old_Textures, TEXTURE *New_Textures)
88688868
}
88698869
for (Layer = New_Textures; Layer->Next != nullptr; Layer = Layer->Next)
88708870
{
8871-
/* NK layers - 1999 June 10 - for backwards compatiblity with layered textures */
8871+
/* NK layers - 1999 June 10 - for backwards compatibility with layered textures */
88728872
if(sceneData->EffectiveLanguageVersion() <= 310)
88738873
Convert_Filter_To_Transmit(Layer->Pigment);
88748874
}
88758875

8876-
/* NK layers - 1999 Nov 16 - for backwards compatiblity with layered textures */
8876+
/* NK layers - 1999 Nov 16 - for backwards compatibility with layered textures */
88778877
if ((sceneData->EffectiveLanguageVersion() <= 310) && (*Old_Textures != nullptr))
88788878
Convert_Filter_To_Transmit(Layer->Pigment);
88798879

source/parser/parser_expressions.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2265,7 +2265,7 @@ void Parser::Parse_Colour (RGBFTColour& colour, bool expectFT)
22652265
{
22662266
// Note: Setting up for potential warning on single value float promote to
22672267
// five value color vector. Any single float will be promoted to the full
2268-
// 'tgtTerms' value. This usually results in filter and trasmit values >0,
2268+
// 'tgtTerms' value. This usually results in filter and transmit values >0,
22692269
// which caused shadow artifacts back to at least version v3.6.1.
22702270
if ((CurrentCategorizedTokenId() == FLOAT_TOKEN_CATEGORY) || (CurrentTrueTokenId() == FUNCT_ID_TOKEN))
22712271
sawFloatOrFloatFnct = true;
@@ -2861,7 +2861,7 @@ template TextureBlendMapPtr Parser::Parse_Blend_List<TextureBlendMap> (int Cou
28612861
*
28622862
* DESCRIPTION
28632863
*
2864-
* This performs a similar funciton to Parse_Blend_List. It was created
2864+
* This performs a similar function to Parse_Blend_List. It was created
28652865
* specifically for uv mapping. It is different from Parse_Blend_List in
28662866
* the following ways:
28672867
* It will parse exactly one item (normal,pigment, or texture).

source/parser/parser_functions.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ ExprNode *Parser::new_expr_node(int stage, int op)
499499
*
500500
* INPUT
501501
*
502-
* current - current poistion in expression tree
502+
* current - current position in expression tree
503503
* stage - stage/precedence of operation
504504
* op - operation
505505
*
@@ -537,7 +537,7 @@ bool Parser::expr_noop(ExprNode *&, int, int)
537537
*
538538
* INPUT
539539
*
540-
* current - current poistion in expression tree
540+
* current - current position in expression tree
541541
* stage - stage/precedence of operation
542542
* op - operation
543543
*
@@ -635,7 +635,7 @@ bool Parser::expr_grow(ExprNode *&current, int stage, int op)
635635
*
636636
* INPUT
637637
*
638-
* current - current poistion in expression tree
638+
* current - current position in expression tree
639639
* stage - stage/precedence of operation
640640
* op - operation
641641
*
@@ -710,7 +710,7 @@ bool Parser::expr_call(ExprNode *&current, int stage, int op)
710710
*
711711
* INPUT
712712
*
713-
* current - current poistion in expression tree
713+
* current - current position in expression tree
714714
* stage - stage/precedence of operation
715715
* op - operation
716716
*
@@ -771,7 +771,7 @@ bool Parser::expr_put(ExprNode *&current, int stage, int op)
771771
*
772772
* INPUT
773773
*
774-
* current - current poistion in expression tree
774+
* current - current position in expression tree
775775
* stage - stage/precedence of operation
776776
* op - operation
777777
*
@@ -820,7 +820,7 @@ bool Parser::expr_new(ExprNode *&current, int /*stage*/, int /*op*/)
820820
*
821821
* INPUT
822822
*
823-
* current - current poistion in expression tree
823+
* current - current position in expression tree
824824
* stage - stage/precedence of operation
825825
* op - operation
826826
*
@@ -861,7 +861,7 @@ bool Parser::expr_ret(ExprNode *&, int, int)
861861
*
862862
* INPUT
863863
*
864-
* current - current poistion in expression tree
864+
* current - current position in expression tree
865865
* stage - stage/precedence of operation
866866
* op - operation
867867
*

windows/pvbitmap.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ HPALETTE CreateDIBPalette(HDIB hDIB)
531531
*
532532
* NOTE:
533533
*
534-
* The bitmap returned from this funciton is always a bitmap compatible
534+
* The bitmap returned from this function is always a bitmap compatible
535535
* with the screen (e.g. same bits/pixel and color planes) rather than
536536
* a bitmap with the same attributes as the DIB. This behavior is by
537537
* design, and occurs because this function calls CreateDIBitmap to

0 commit comments

Comments
 (0)