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
467d9d36
Commit
467d9d36
authored
Dec 22, 2007
by
dickelbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added strlower()
parent
e35e2eac
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
string.cpp
common/string.cpp
+16
-0
common.h
include/common.h
+1
-0
No files found.
common/string.cpp
View file @
467d9d36
...
...
@@ -372,3 +372,19 @@ char* strupper( char* Text )
return
Text
;
}
/********************************/
char
*
strlower
(
char
*
text
)
/********************************/
{
char
*
start
=
text
;
while
(
*
text
)
{
if
(
*
text
>=
'A'
&&
*
text
<=
'Z'
)
*
text
-=
'A'
-
'a'
;
text
++
;
}
return
start
;
}
include/common.h
View file @
467d9d36
...
...
@@ -491,6 +491,7 @@ wxString FindKicadFile( const wxString& shortname );
/* STRING.CPP */
/*************/
char
*
strupper
(
char
*
Text
);
char
*
strlower
(
char
*
Text
);
int
ReadDelimitedText
(
char
*
dest
,
char
*
source
,
int
NbMaxChar
);
...
...
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