Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
e14d9aaf
Commit
e14d9aaf
authored
Feb 17, 2014
by
Maciej Suminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed wrongly formulated assert.
parent
05de84d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
drawing_tool.cpp
pcbnew/tools/drawing_tool.cpp
+1
-1
No files found.
pcbnew/tools/drawing_tool.cpp
View file @
e14d9aaf
...
@@ -190,7 +190,7 @@ int DRAWING_TOOL::DrawArc( TOOL_EVENT& aEvent )
...
@@ -190,7 +190,7 @@ int DRAWING_TOOL::DrawArc( TOOL_EVENT& aEvent )
{
{
if
(
wxPoint
(
cursorPos
.
x
,
cursorPos
.
y
)
!=
arc
->
GetArcStart
()
)
if
(
wxPoint
(
cursorPos
.
x
,
cursorPos
.
y
)
!=
arc
->
GetArcStart
()
)
{
{
assert
(
arc
->
GetAngle
()
>
0
);
assert
(
arc
->
GetAngle
()
!=
0
);
assert
(
arc
->
GetArcStart
()
!=
arc
->
GetArcEnd
()
);
assert
(
arc
->
GetArcStart
()
!=
arc
->
GetArcEnd
()
);
assert
(
arc
->
GetWidth
()
>
0
);
assert
(
arc
->
GetWidth
()
>
0
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment