summaryrefslogtreecommitdiff
path: root/coma.c
diff options
context:
space:
mode:
authorJeffrey Armstrong <jeffrey.armstrong@approximatrix.com>2016-06-14 20:53:27 -0400
committerJeffrey Armstrong <jeffrey.armstrong@approximatrix.com>2016-06-14 20:53:27 -0400
commit8c15427214095ab11697a7505e168ada0e33cdbf (patch)
tree9ebf97eb587587039df5290b20eb3778c0b6ef17 /coma.c
parent6d6bb88a0215b87a4a47ed86a84ae3c75d399962 (diff)
downloadsedt-8c15427214095ab11697a7505e168ada0e33cdbf.tar.gz
sedt-8c15427214095ab11697a7505e168ada0e33cdbf.zip
Fixed building with modern curses. Added Watcom makefile for Linux only.
Diffstat (limited to 'coma.c')
-rw-r--r--coma.c12
1 files changed, 6 insertions, 6 deletions
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<End_Region)
{if ((C=B_Get(Current))>='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<End_Region)
{if ((C=B_Get(Current))>='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);
}