[Sketcher] [Part] Fix typos and whitespace

This commit is contained in:
luz paz
2022-10-11 07:45:03 -04:00
committed by abdullahtahiriyo
parent 525c05fae5
commit 57090a43f7
3 changed files with 4 additions and 5 deletions

View File

@@ -2032,7 +2032,7 @@ private:
#else
#ifdef FC_OS_WIN32
//PyUNICODE is only 16 bits on Windows (wchar_t), so passing 32 bit UCS4
//will result in unknow glyph in even positions, and wrong characters in
//will result in unknown glyph in even positions, and wrong characters in
//odd positions.
unichars = (Py_UNICODE*)PyUnicode_AsWideCharString(p, &pysize);
#else
@@ -2048,7 +2048,7 @@ private:
#else
#ifdef FC_OS_WIN32
//PyUNICODE is only 16 bits on Windows (wchar_t), so passing 32 bit UCS4
//will result in unknow glyph in even positions, and wrong characters in
//will result in unknown glyph in even positions, and wrong characters in
//odd positions.
unichars = (Py_UNICODE*)PyUnicode_AsWideCharString(intext, &pysize);
#else

View File

@@ -257,7 +257,7 @@ Supports all unit systems except 'US customary' and 'Building US/Euro'.</string>
<string>Cursor position coordinates will be displayed beside cursor while editing sketch.</string>
</property>
<property name="text">
<string>Show coodinates beside cursor while editing</string>
<string>Show coordinates beside cursor while editing</string>
</property>
<property name="checked">
<bool>true</bool>

View File

@@ -129,13 +129,12 @@ void removeRedundantHorizontalVertical(Sketcher::SketchObject* psketch,
void ConstraintToAttachment(Sketcher::GeoElementId element, Sketcher::GeoElementId attachment, double distance, App::DocumentObject* obj);
//convenience functions for cursor coodinates
//convenience functions for cursor coordinates
bool hideUnits();
bool showCursorCoords();
bool useSystemDecimals();
std::string lengthToDisplayFormat(double value, int digits);
std::string angleToDisplayFormat(double value, int digits);
}
/// converts a 2D vector into a 3D vector in the XY plane