aboutsummaryrefslogtreecommitdiff
path: root/src/irc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc.c')
-rw-r--r--src/irc.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/irc.c b/src/irc.c
index c82baad..5be1c85 100644
--- a/src/irc.c
+++ b/src/irc.c
@@ -271,10 +271,10 @@ static void irc_parse(void) {
void print_errnum(void) {
extern unsigned char err;
char tmp[10];
- scr_print(SCR_CURR, "Error #");
+ scr_print_current("Error #");
itoa(err, tmp, 10);
- scr_print(SCR_CURR, tmp);
- scr_print(SCR_CURR, ", press any key...\n");
+ scr_print_current(tmp);
+ scr_print_current(", press any key...\n");
}
#ifdef __ATARI__
@@ -284,7 +284,7 @@ int irc_read(void) {
err = nstatus(url);
if(err == 136) {
- scr_print(SCR_CURR, "Disconnected, press any key...\n");
+ scr_print_current("Disconnected, press any key...\n");
cgetc();
return 0;
} else if(err != 1) {
@@ -301,7 +301,7 @@ int irc_read(void) {
if(bw > 0) {
err = nread(url, rx_buf, bw);
if(err != 1) {
- scr_print(SCR_CURR, "READ ERROR: ");
+ scr_print_current("READ ERROR: ");
print_errnum();
return 0;
}
@@ -337,7 +337,7 @@ static void start_keystroke(void) {
i = cgetc();
if(i >= '1' && i <= '7') {
s = i - '1';
- if(scr_active[s] != SCR_UNUSED)
+ if(scr_status[s] != SCR_UNUSED)
scr_display(s);
}
}