summaryrefslogtreecommitdiff
path: root/comb.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 /comb.c
parent6d6bb88a0215b87a4a47ed86a84ae3c75d399962 (diff)
downloadsedt-8c15427214095ab11697a7505e168ada0e33cdbf.tar.gz
sedt-8c15427214095ab11697a7505e168ada0e33cdbf.zip
Fixed building with modern curses. Added Watcom makefile for Linux only.
Diffstat (limited to 'comb.c')
-rw-r--r--comb.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/comb.c b/comb.c
index 5d34071..5c41753 100644
--- a/comb.c
+++ b/comb.c
@@ -91,7 +91,7 @@ void Fast Help()
*/
void Fast Do_Help()
{char Sav_Attributes;
- int I, J, K, L, OK, Key, H_Col, Gold_Txt, Key_Txt;
+ int I, J, K, L, Okay, Key, H_Col, Gold_Txt, Key_Txt;
struct File F, G;
int Sav_Line, C;
long Sav_Col, Sav_Shift;
@@ -249,10 +249,10 @@ void Fast Do_Help()
J++;
}
J--;
- OK=0;
+ Okay=0;
for (K=0;K<Map_Defs;K++)
{if (Map_Tab[K].F_Code==Key)
- {if (OK)
+ {if (Okay)
{B_Put_S(&Del,", ",2);
H_Col+=2;
}
@@ -319,9 +319,9 @@ void Fast Do_Help()
B_Put(&Del,(char)C);
}
}
- OK=1;
+ Okay=1;
} else
- if (K==Map_Defs-1&&!OK)
+ if (K==Map_Defs-1&&!Okay)
{B_Put_S(&Del,Unassigned_Txt,strlen(Unassigned_Txt));
H_Col+=strlen(Unassigned_Txt);
if (Key>=1000)
@@ -488,18 +488,18 @@ void Fast Do_Help()
if ((--Help_Level)==0)
break;
} else
- {OK=1;
- for (I=0;OK&&I<Help_Level;I++)
+ {Okay=1;
+ for (I=0;Okay&&I<Help_Level;I++)
{if ((C=B_Get(&Del))=='\n')
- {OK=0;
+ {Okay=0;
break;
}
- OK&=Help_Levels[I]==C;
+ Okay&=Help_Levels[I]==C;
}
if (C!='\n')
B_Search(&Del,'\n',
Dl_Pointers[Help_String][0]+Dl_Pointers[Help_String][1]);
- if (OK)
+ if (Okay)
break;
}
}