projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
output view: make items selectable and use system colours
[pspp]
/
src
/
output
/
msglog.c
diff --git
a/src/output/msglog.c
b/src/output/msglog.c
index 9b606b4f18f1bde7cfdb478eac1bb3985334c7cb..ef2cf6b007deef169f6481b32ef7d5c80352479c 100644
(file)
--- a/
src/output/msglog.c
+++ b/
src/output/msglog.c
@@
-101,8
+101,7
@@
msglog_submit (struct output_driver *driver, const struct output_item *item)
if (is_message_item (item))
{
const struct message_item *message_item = to_message_item (item);
if (is_message_item (item))
{
const struct message_item *message_item = to_message_item (item);
- const struct msg *msg = message_item_get_msg (message_item);
- char *s = msg_to_string (msg, message_item->command_name);
+ char *s = msg_to_string (message_item_get_msg (message_item));
fprintf (ml->file, "%s\n", s);
free (s);
}
fprintf (ml->file, "%s\n", s);
free (s);
}