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
078490db
Commit
078490db
authored
Feb 10, 2009
by
charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug (only in my last commit) fixed under Windows. Removed some warnings in compilation
parent
c9d8541f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
edaappl.cpp
common/edaappl.cpp
+1
-1
zoom.cpp
common/zoom.cpp
+4
-2
No files found.
common/edaappl.cpp
View file @
078490db
...
...
@@ -449,7 +449,7 @@ bool WinEDA_App::SetBinDir()
m_BinDir
.
Replace
(
WIN_STRING_DIR_SEP
,
UNIX_STRING_DIR_SEP
);
// Remove filename form command line:
while
(
m_BinDir
.
Last
()
!=
'/'
)
while
(
m_BinDir
.
Last
()
!=
'/'
&&
!
m_BinDir
.
IsEmpty
()
)
m_BinDir
.
RemoveLast
();
wxFileName
pfn
(
wxT
(
"/posix/path/specification"
),
wxT
(
"filename"
)
);
...
...
common/zoom.cpp
View file @
078490db
...
...
@@ -51,8 +51,10 @@ void WinEDA_DrawFrame::PutOnGrid( wxPoint* coord )
if
(
!
GetBaseScreen
()
->
m_UserGridIsON
)
{
coord
->
x
=
(
int
)
round
(
(
coord
->
x
/
grid_size
.
x
)
*
grid_size
.
x
);
coord
->
y
=
(
int
)
round
(
(
coord
->
y
/
grid_size
.
y
)
*
grid_size
.
y
);
coord
->
x
=
(
(
int
)
round
(
coord
->
x
/
grid_size
.
x
)
)
*
grid_size
.
x
;
coord
->
y
=
(
(
int
)
round
(
coord
->
y
/
grid_size
.
y
)
)
*
grid_size
.
y
;
}
}
...
...
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