summaryrefslogtreecommitdiff
path: root/textscreen/txt_io.c
diff options
context:
space:
mode:
authorSimon Howard2006-01-14 00:10:54 +0000
committerSimon Howard2006-01-14 00:10:54 +0000
commite3e4b061157c2a1c7cd17f74a35d7ae744378772 (patch)
treee585cb0a23ac5398b4cd7c6fc08029cb8e4b9001 /textscreen/txt_io.c
parentd78780cfc3f4c5c601bc19ae7976c2ae26ac9495 (diff)
downloadchocolate-doom-e3e4b061157c2a1c7cd17f74a35d7ae744378772.tar.gz
chocolate-doom-e3e4b061157c2a1c7cd17f74a35d7ae744378772.tar.bz2
chocolate-doom-e3e4b061157c2a1c7cd17f74a35d7ae744378772.zip
Change the format of color commands. Reorganise the waiting dialog.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 292
Diffstat (limited to 'textscreen/txt_io.c')
-rw-r--r--textscreen/txt_io.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/textscreen/txt_io.c b/textscreen/txt_io.c
index 910365e1..e0fdae43 100644
--- a/textscreen/txt_io.c
+++ b/textscreen/txt_io.c
@@ -1,7 +1,7 @@
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
-// $Id: txt_io.c 291 2006-01-13 23:56:00Z fraggle $
+// $Id: txt_io.c 292 2006-01-14 00:10:54Z fraggle $
//
// Copyright(C) 1993-1996 Id Software, Inc.
// Copyright(C) 2005 Simon Howard
@@ -22,6 +22,9 @@
// 02111-1307, USA.
//
// $Log$
+// Revision 1.2 2006/01/14 00:10:53 fraggle
+// Change the format of color commands. Reorganise the waiting dialog.
+//
// Revision 1.1 2006/01/13 23:56:00 fraggle
// Add text-mode I/O functions.
// Use text-mode screen for the waiting screen.
@@ -169,17 +172,17 @@ void TXT_Puts(char *s)
for (p=s; *p != '\0'; ++p)
{
- if (*p == '%')
+ if (*p == '<')
{
++p;
- if (*p == '%')
+ if (*p == '<')
{
- PutChar(screen, '%');
+ PutChar(screen, '<');
}
else
{
- ending = strchr(p, '%');
+ ending = strchr(p, '>');
if (ending == NULL)
{