From 5e031c1cb19c282245264c4130e978d7c94cbc02 Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Fri, 4 Nov 2011 03:23:00 +0000
Subject: [PATCH] Use CTRL_A macro instead of '1' for Ctrl-A character
 constant.

---
 src/sbbs3/qwktomsg.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sbbs3/qwktomsg.cpp b/src/sbbs3/qwktomsg.cpp
index c567f4b8ca..dbbdb6563f 100644
--- a/src/sbbs3/qwktomsg.cpp
+++ b/src/sbbs3/qwktomsg.cpp
@@ -358,7 +358,7 @@ bool sbbs_t::qwk_import_msg(FILE *qwk_fp, char *hdrblk, ulong blocks
 		if(!fromhub && (qwkbuf[k]==CTRL_A || qwkbuf[k]==ESC)
 			&& useron.rest&FLAG('A'))
 			continue;
-		if(qwkbuf[k]!=1 && lastch!=1)
+		if(qwkbuf[k]!=CTRL_A && lastch!=CTRL_A)
 			col++;
 		if(lastch==CTRL_A && !valid_ctrl_a_code(qwkbuf[k])) {
 			if(taillen) taillen--;
-- 
GitLab