TempleOSCD_140715.ISO

This commit is contained in:
Terry A. Davis authored and minexew committed 2018-09-08 21:46:09 +02:00
1 parent 7ef616a20e
commit 64f679eeb9
1095 files changed
+24814 -221011

No files matched your search

+3 -4
View File
@@ -1,6 +1,5 @@
U8 char_map[26]="22233344455566677778889999";
/*
Fmt of word lst entry:
U8 WSD_WORD_CHAR
@@ -11,7 +10,7 @@ U0 PhoneNumWords(U8 *num)
{
I64 ch;
U8 *_num=StrNew(num),*dst=_num,
*dict=ws_dict_word_lst,*st,*src;
*dict=wsd.word_lst,*st,*src;
while (*num) {
if ('0'<=*num<='9')
*dst++=*num;
@@ -48,13 +47,13 @@ U0 PhoneNumWords(U8 *num)
dict+=StrLen(dict)+3;
}
Free(_num);
NewLine;
'\n';
}
U0 PNWDemo()
{
U8 *st;
while ((st=PmtStr("Phone Num:")) && *st) {
while ((st=GetStr("Phone Num:")) && *st) {
PhoneNumWords(st);
Free(st);
}