From 8c15427214095ab11697a7505e168ada0e33cdbf Mon Sep 17 00:00:00 2001 From: Jeffrey Armstrong Date: Tue, 14 Jun 2016 20:53:27 -0400 Subject: Fixed building with modern curses. Added Watcom makefile for Linux only. --- coma.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'coma.c') diff --git a/coma.c b/coma.c index 0934cf8..841a7d2 100644 --- a/coma.c +++ b/coma.c @@ -484,7 +484,7 @@ void Fast Clear_Region() } void Fast Counter_Get() -{int OK=0, C, Sign=1; +{int Okay=0, C, Sign=1; if (!Get_Counter_Index()||Skip) return; Set_Region(); @@ -510,17 +510,17 @@ void Fast Counter_Get() while (Current->Pos='0'&&C<='9') {Count=Count*10+C-'0'; - OK=1; + Okay=1; } else break; } - if (OK) + if (Okay) Counter[Counter_Index]=Count*Sign; else Error(2,No_Number_Txt); } void Fast Counter_Add() -{int OK=0, C, Sign=1; +{int Okay=0, C, Sign=1; if (!Get_Counter_Index()||Skip) return; Set_Region(); @@ -546,11 +546,11 @@ void Fast Counter_Add() while (Current->Pos='0'&&C<='9') {Count=Count*10+C-'0'; - OK=1; + Okay=1; } else break; } - if (OK) + if (Okay) Counter[Counter_Index]+=Count*Sign; else Error(2,No_Number_Txt); } -- cgit v1.2.3