Commits (2)
......@@ -43,11 +43,9 @@ char * readtext(long *line, FILE *stream, long dflt);
BOOL load_cfg(scfg_t* cfg, char* text[], BOOL prep, BOOL req_node, char* error, size_t maxerrlen)
{
int i;
#ifdef SBBS
long line=0L;
FILE *instream;
char str[256];
#endif
if(cfg->size!=sizeof(scfg_t)) {
safe_snprintf(error, maxerrlen,"cfg->size (%"PRIu32") != sizeof(scfg_t) (%" XP_PRIsize_t "d)"
......@@ -86,7 +84,6 @@ BOOL load_cfg(scfg_t* cfg, char* text[], BOOL prep, BOOL req_node, char* error,
if(read_attr_cfg(cfg, error, maxerrlen)==FALSE)
return(FALSE);
#ifdef SBBS
if(text!=NULL) {
/* Free existing text if allocated */
......@@ -112,7 +109,6 @@ BOOL load_cfg(scfg_t* cfg, char* text[], BOOL prep, BOOL req_node, char* error,
}
cfg->text = text;
}
#endif
/* Override com-port settings */
cfg->com_base=0xf; /* All nodes use FOSSIL */
......
......@@ -103,9 +103,11 @@
<ClCompile Include="ars.c" />
<ClCompile Include="load_cfg.c" />
<ClCompile Include="nopen.c" />
<ClCompile Include="readtext.c" />
<ClCompile Include="scfglib1.c" />
<ClCompile Include="scfglib2.c" />
<ClCompile Include="str_util.c" />
<ClCompile Include="text_defaults.c" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
......
......@@ -1089,10 +1089,8 @@ const char * const text_defaults[TOTAL_TEXT]={
"\x6e\x6f\x77" // 646 DownloadBatchQ
,"\x01\x5f\x01\x72\x01\x68\x0d\x0a\x57\x61\x69\x74\x69\x6e\x67\x20\x66\x6f\x72\x20\x53\x6c\x6f\x77\x20\x4d\x65\x64\x69\x61\x20\x44"
"\x65\x76\x69\x63\x65\x20\x23\x25\x75\x2e\x2e\x2e" // 647 WaitingForDeviceN
,"\x07\x01\x6e\x01\x79\x01\x68\x25\x73\x01\x6e\x01\x63\x20\x73\x65\x6e\x74\x20\x79\x6f\x75\x20\x45\x2d\x6d\x61\x69\x6c\x2e\x0d\x0a"
"" // 648 UserSentYouMail
,"\x07\x01\x6e\x01\x79\x01\x68\x25\x73\x01\x6e\x01\x63\x20\x73\x65\x6e\x74\x20\x79\x6f\x75\x20\x61\x20\x66\x69\x6c\x65\x2e\x0d\x0a"
"" // 649 UserSentYouFile
,"\x01\x6e\x01\x79\x01\x68\x25\x73\x01\x6e\x01\x63\x20\x73\x65\x6e\x74\x20\x79\x6f\x75\x20\x45\x2d\x6d\x61\x69\x6c\x2e\x0d\x0a" // 648 UserSentYouMail
,"\x01\x6e\x01\x79\x01\x68\x25\x73\x01\x6e\x01\x63\x20\x73\x65\x6e\x74\x20\x79\x6f\x75\x20\x61\x20\x66\x69\x6c\x65\x2e\x0d\x0a" // 649 UserSentYouFile
,"\x01\x6e\x01\x79\x01\x68\x25\x73\x01\x6e\x01\x63\x20\x72\x65\x61\x64\x20\x79\x6f\x75\x72\x20\x45\x2d\x6d\x61\x69\x6c\x20\x6f\x6e"
"\x20\x25\x73\x2e\x0d\x0a" // 650 UserReadYourMail
,"\x07\x01\x5f\x01\x77\x01\x68\x4e\x6f\x64\x65\x20\x25\x32\x64\x3a\x20\x01\x67\x25\x73\x01\x6e\x01\x67\x20\x72\x65\x61\x64\x20\x79"
......