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
ec7475f3
Commit
ec7475f3
authored
Jul 05, 2011
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pcbnew: fix bug 805953 (Module file corruption after deleting a module).
parent
f00696e8
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
10 deletions
+8
-10
build_version.cpp
common/build_version.cpp
+1
-1
install.nsi
packaging/windows/nsis/install.nsi
+1
-1
librairi.cpp
pcbnew/librairi.cpp
+4
-6
version.txt
version.txt
+2
-2
No files found.
common/build_version.cpp
View file @
ec7475f3
...
...
@@ -6,7 +6,7 @@
#endif
#ifndef KICAD_BUILD_VERSION
#define KICAD_BUILD_VERSION "(2011-07-0
4
)"
#define KICAD_BUILD_VERSION "(2011-07-0
5
)"
#endif
...
...
packaging/windows/nsis/install.nsi
View file @
ec7475f3
...
...
@@ -17,7 +17,7 @@
; General Product Description Definitions
!define PRODUCT_NAME "KiCad"
!define PRODUCT_VERSION "2011.07.0
4
"
!define PRODUCT_VERSION "2011.07.0
5
"
!define PRODUCT_WEB_SITE "http://iut-tice.ujf-grenoble.fr/kicad/"
!define SOURCEFORGE_WEB_SITE "http://kicad.sourceforge.net/"
!define COMPANY_NAME ""
...
...
pcbnew/librairi.cpp
View file @
ec7475f3
...
...
@@ -307,7 +307,7 @@ void WinEDA_ModuleEditFrame::Delete_Module_In_Library( const wxString& aLibname
/* Create header with new date. */
fprintf
(
dest
,
ENTETE_LIBRAIRIE
);
fprintf
(
dest
,
" %s
\n
$
"
,
DateAndTime
(
Line
)
);
fprintf
(
dest
,
" %s
\n
"
,
DateAndTime
(
Line
)
);
fprintf
(
dest
,
"# encoding utf-8
\n
"
);
fprintf
(
dest
,
"$INDEX
\n
"
);
...
...
@@ -556,9 +556,7 @@ bool PCB_BASE_FRAME::Save_Module_In_Library( const wxString& aLibName,
newmodule
=
1
;
end
=
0
;
while
(
!
end
&&
GetLine
(
lib_module
,
Line
,
&
LineNum
)
)
{
if
(
Line
[
0
]
!=
'$'
)
continue
;
if
(
strncmp
(
Line
+
1
,
"INDEX"
,
5
)
!=
0
)
if
(
strncmp
(
Line
,
"$INDEX"
,
6
)
!=
0
)
continue
;
while
(
GetLine
(
lib_module
,
Line
,
&
LineNum
)
)
...
...
@@ -630,7 +628,7 @@ bool PCB_BASE_FRAME::Save_Module_In_Library( const wxString& aLibName,
while
(
GetLine
(
lib_module
,
Line
,
&
LineNum
)
)
{
StrPurge
(
Line
);
if
(
strnicmp
(
Line
,
"$M
"
,
2
)
==
0
)
if
(
strnicmp
(
Line
,
"$M
ODULE"
,
7
)
==
0
)
break
;
if
(
strnicmp
(
Line
,
"$INDEX"
,
6
)
==
0
)
{
...
...
@@ -643,7 +641,7 @@ bool PCB_BASE_FRAME::Save_Module_In_Library( const wxString& aLibName,
}
if
(
newmodule
)
fprintf
(
dest
,
"%s
\n
"
,
TO_UTF8
(
Name_Cmp
)
);
if
(
strnicmp
(
Line
,
"$EndINDEX"
,
0
)
==
0
)
if
(
strnicmp
(
Line
,
"$EndINDEX"
,
9
)
==
0
)
break
;
}
...
...
version.txt
View file @
ec7475f3
release version:
2011 jul 0
4
2011 jul 0
5
files (.zip,.tgz):
kicad-2011-07-0
4
kicad-2011-07-0
5
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