aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/scicore/console.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/scicore/console.cpp')
-rw-r--r--engines/sci/scicore/console.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/sci/scicore/console.cpp b/engines/sci/scicore/console.cpp
index a276875bc2..8db1b930fb 100644
--- a/engines/sci/scicore/console.cpp
+++ b/engines/sci/scicore/console.cpp
@@ -46,12 +46,12 @@ int sciprintf(const char *fmt, ...) {
char *buf = (char *)sci_malloc(bufsize);
if (NULL == fmt) {
- error("console.c: sciprintf(): NULL passed for parameter fmt\n");
+ fprintf(stderr, "console.c: sciprintf(): NULL passed for parameter fmt\n");
return -1;
}
if (NULL == buf) {
- error("console.c: sciprintf(): malloc failed for buf\n");
+ fprintf(stderr, "console.c: sciprintf(): malloc failed for buf\n");
return -1;
}
@@ -104,7 +104,7 @@ void open_console_file(char *filename) {
fclose(con_file);
if (NULL == filename) {
- error("console.c: open_console_file(): NULL passed for parameter filename\r\n");
+ fprintf(stderr, "console.c: open_console_file(): NULL passed for parameter filename\r\n");
}
#ifdef WIN32
con_file = fopen(filename, "wt");
@@ -113,7 +113,7 @@ void open_console_file(char *filename) {
#endif
if (NULL == con_file)
- error("console.c: open_console_file(): Could not open output file %s\n", filename);
+ fprintf(stderr, "console.c: open_console_file(): Could not open output file %s\n", filename);
}
void close_console_file() {