summaryrefslogtreecommitdiff
path: root/src/io.c
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2008-12-08 19:17:06 +0000
committerFrederic Culot <calcurse@culot.org>2008-12-08 19:17:06 +0000
commit7ff22e9b3f906b6f775e199d6cde73d8ee18d1d5 (patch)
tree3a06047647f6c6eb1f803322932f92e6bfdc974f /src/io.c
parent639058740a44c6380258e0152f9916af1e53bb27 (diff)
downloadcalcurse-7ff22e9b3f906b6f775e199d6cde73d8ee18d1d5.zip
color configuration menu adapted to handle user-defined key bindings
Diffstat (limited to 'src/io.c')
-rwxr-xr-xsrc/io.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/io.c b/src/io.c
index cc56b97..de3950b 100755
--- a/src/io.c
+++ b/src/io.c
@@ -1,4 +1,4 @@
-/* $calcurse: io.c,v 1.45 2008/12/07 09:20:38 culot Exp $ */
+/* $calcurse: io.c,v 1.46 2008/12/08 19:17:07 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -1707,7 +1707,6 @@ ical_unformat_line (char *line)
static char *
ical_unfold_content (FILE *fd, char *line, unsigned *lineno)
{
- const int CHAR_SPACE = 32;
char *content;
int c;
@@ -1718,7 +1717,7 @@ ical_unfold_content (FILE *fd, char *line, unsigned *lineno)
for (;;)
{
c = getc (fd);
- if (c == CHAR_SPACE || c == TAB)
+ if (c == SPACE || c == TAB)
{
char buf[BUFSIZ];
@@ -2703,7 +2702,7 @@ void
io_log_print (io_file_t *log, int line, char *msg)
{
if (log && log->fd)
- fprintf (log->fd, "[%d]: %s\n", line, msg);
+ fprintf (log->fd, "line %d: %s\n", line, msg);
}
void