projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Encapsulated msg_location inside msg_emit
[pspp-builds.git]
/
src
/
ui
/
terminal
/
msg-ui.c
diff --git
a/src/ui/terminal/msg-ui.c
b/src/ui/terminal/msg-ui.c
index 3e354a7b372d7b5c5cd2b882be5e85780b8fdd91..9b71cb51eea1e69eb2c4670b91e171b3a765fcc1 100644
(file)
--- a/
src/ui/terminal/msg-ui.c
+++ b/
src/ui/terminal/msg-ui.c
@@
-41,7
+41,7
@@
static void handle_msg (const struct msg *);
void
msg_ui_init (void)
{
- msg_init (handle_msg);
+ msg_init (handle_msg
, get_msg_location
);
}
void
@@
-50,6
+50,7
@@
msg_ui_done (void)
msg_done ();
}
+
/* Checks whether we've had so many errors that it's time to quit
processing this syntax file. */
void