Misc. source and comment typos

This commit is contained in:
luz.paz
2018-02-26 22:02:52 -05:00
parent 86019a01ef
commit 143ce405e4
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -451,7 +451,7 @@ private:
/** Float properties
* This is the father of all properties handling floats.
* Use this type only in rare cases. Mostly you want to
* use the more specialized types like e.g. PropertyLenth.
* use the more specialized types like e.g. PropertyLength.
* These properties also fulfill the needs of the unit system.
* See PropertyUnits.h for all properties with units.
*/
+1 -1
View File
@@ -39615,7 +39615,7 @@ class draughting_model_item_association(item_identified_representation_usage):
return eval_wr5_wr
def wr6(self):
eval_wr6_wr = (( not (('AUTOMOTIVE_DESIGN.' + 'LINEAR_DIMENSION') == TYPEOF(self.self.item_identified_representation_usage.self.identified_item))) or ((('AUTOMOTIVE_DESIGN.' + 'DIMENSIONAL_SIZE') == TYPEOF(self.self.item_identified_representation_usage.self.definition)) and (((self.self.item_identified_representation_usage.self.definition.self.name == 'heigth') or (self.self.item_identified_representation_usage.self.definition.self.name == 'length')) or (self.self.item_identified_representation_usage.self.definition.self.name == 'width'))))
eval_wr6_wr = (( not (('AUTOMOTIVE_DESIGN.' + 'LINEAR_DIMENSION') == TYPEOF(self.self.item_identified_representation_usage.self.identified_item))) or ((('AUTOMOTIVE_DESIGN.' + 'DIMENSIONAL_SIZE') == TYPEOF(self.self.item_identified_representation_usage.self.definition)) and (((self.self.item_identified_representation_usage.self.definition.self.name == 'height') or (self.self.item_identified_representation_usage.self.definition.self.name == 'length')) or (self.self.item_identified_representation_usage.self.definition.self.name == 'width'))))
if not eval_wr6_wr:
raise AssertionError('Rule wr6 violated')
else:
+2 -2
View File
@@ -51,12 +51,12 @@ struct Element_Header
// only zip less implemented so far...
assert(zLib == false);
Element_Lenght.read(cont);
Element_Length.read(cont);
Object_Type_ID.read(cont);
Object_Base_Type.read(cont);
};
I32 Element_Lenght;
I32 Element_Length;
GUID Object_Type_ID;
UChar Object_Base_Type;
+1 -1
View File
@@ -27,7 +27,7 @@ __author__ = "Yorik van Havre <[email protected]>"
__url__ = "http://www.freecadweb.org"
"""
This script needs to be ran after the wiki has been fully downloaded. It has three usages:
This script needs to be run after the wiki has been fully downloaded. It has three usages:
1) If no revisions.txt file is found, it parses the contents of the wikifiles.txt file
and, for each entry, it retrieves a corresponding revision ID, and creates a revisions.txt file