projects
/
infodrom
/
dtaus
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
862aa55
)
Convert option names without parameter into lowercase before
author
Joey Schulze
<joey@infodrom.org>
Sun, 26 Jul 2009 18:00:47 +0000
(18:00 +0000)
committer
Joey Schulze
<joey@infodrom.org>
Sun, 26 Jul 2009 18:00:47 +0000
(18:00 +0000)
comparison as well. Thanks to Peter Schlaile <peter@schlaile.de>
dtaus.c
patch
|
blob
|
history
diff --git
a/dtaus.c
b/dtaus.c
index
4c9248b
..
874bfca
100644
(file)
--- a/
dtaus.c
+++ b/
dtaus.c
@@
-455,7
+455,7
@@
char *extract_ident (char *line)
y = strchr (line, '\t');
if (!x && !y) {
y = strchr (line, '\t');
if (!x && !y) {
- strncpy(word,
line
, 29);
+ strncpy(word,
downcase(line)
, 29);
line[0] = '\0';
return word;
}
line[0] = '\0';
return word;
}