mirror of
https://github.com/vivier/EMILE.git
synced 2026-03-11 01:38:28 +00:00
Really change putstring() to console_putstring()
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
#include <stdio.h>
|
||||
|
||||
#include "misc.h"
|
||||
#include "console.h"
|
||||
|
||||
int strlen(const char* s)
|
||||
{
|
||||
@@ -62,9 +63,9 @@ unsigned char *c2pstring(char* s)
|
||||
|
||||
void error(char *x)
|
||||
{
|
||||
putstring("\n\n");
|
||||
putstring(x);
|
||||
putstring("\n\n -- System halted\n");
|
||||
console_putstring("\n\n");
|
||||
console_putstring(x);
|
||||
console_putstring("\n\n -- System halted\n");
|
||||
|
||||
while(1); /* Halt */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user