summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 44418e0)
raw | patch | inline | side by side (parent: 44418e0)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sun, 24 Aug 2008 08:58:39 +0000 (10:58 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sun, 24 Aug 2008 08:58:39 +0000 (10:58 +0200) |
Not dashes. Somehow I now like underscores better.
src/filecount.c | patch | blob | history |
diff --git a/src/filecount.c b/src/filecount.c
index d15af757cbd9116e15083d821de3ded7cf746b35..3d08cbe27689415243144d80da56f1a5d93ef91e 100644 (file)
--- a/src/filecount.c
+++ b/src/filecount.c
strncpy (buffer, str, sizeof (buffer));
for (ptr = buffer; *ptr != 0; ptr++)
if (*ptr == '/')
- *ptr = '-';
+ *ptr = '_';
- for (ptr = buffer; *ptr == '-'; ptr++)
+ for (ptr = buffer; *ptr == '_'; ptr++)
/* do nothing */;
if (*ptr == 0)