bugfixing

This commit is contained in:
Alexander S. Aganichev
2001-05-09 20:45:13 +00:00
parent 61f978c8cd
commit 2e70dec322
17 changed files with 169 additions and 199 deletions

View File

@@ -26,6 +26,22 @@
#pragma pack(1)
#endif
// ------------------------------------------------------------------
#ifdef __OS2__
#define INCL_BASE
#include <os2.h>
#else
typedef char CHAR;
typedef unsigned char UCHAR;
typedef short SHORT;
typedef unsigned short USHORT;
typedef long LONG;
typedef unsigned long ULONG;
typedef unsigned char *PSZ;
#endif
// ------------------------------------------------------------------
#define SMALLEST_MSG_SIZE_FOR_PACKING 384
@@ -332,7 +348,6 @@ typedef struct _msgarea MSGAREA, *PMSGAREA; //JM931019
#define M_FIDO 0x00100000 /* Star . msg Format */
#define M_JAM 0x00200000 /* JAM msg Format */
struct _filearea
{
char *name;

View File

@@ -187,7 +187,7 @@ void gareafile::ReadWtrGte(char* tag) {
if(fp) {
char header[26];
if(not quiet)
printf(NL "* Reading %s", file);
cout << "* Reading " << file << endl;
fread(header, 26, 1, fp); strp2c(header);
if(streql(header, ConfigHeader))

View File

@@ -29,12 +29,6 @@
#include <gstrall.h>
#undef GCFG_NOXBBS
#include <gedacfg.h>
#ifdef __OS2__
#define INCL_BASE
#include <os2.h>
#include <gs_xbbs.h>
@@ -153,16 +147,12 @@ void gareafile::ReadAdeptXbbsFile(char* path, char* file, char* options) {
}
}
#endif
// ------------------------------------------------------------------
// Read areas from AdeptXBBS
void gareafile::ReadAdeptXBBS(char* tag) {
#ifdef __OS2__
char options[80];
Path file, path, cfg;
@@ -183,12 +173,6 @@ void gareafile::ReadAdeptXBBS(char* tag) {
CfgAdeptxbbspath(path);
ReadAdeptXbbsFile(path, file, options);
#else
NW(tag);
#endif
}