X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/micropolis/blobdiff_plain/6a5fa4e03967ab980cdc7ef96a42400bc29b4414..e049e4ba47308629d2233fdd3f85d49352463d9c:/src/sim/w_resrc.c diff --git a/src/sim/w_resrc.c b/src/sim/w_resrc.c index 2446694..23fc2aa 100644 --- a/src/sim/w_resrc.c +++ b/src/sim/w_resrc.c @@ -63,15 +63,15 @@ #ifdef MSDOS -#define PATHSTR "%s\\%c%c%c%c.%d" +#define PATHSTR "%s\\%c%c%c%c.%ld" #define PERMSTR "rb" #else -#define PATHSTR "%s/%c%c%c%c.%d" +#define PATHSTR "%s/%c%c%c%c.%ld" #define PERMSTR "r" #endif -char *HomeDir, *ResourceDir, *KeyDir, *HostName; +char *HomeDir, *ResourceDir, *KeyDir, *HostName = ""; struct Resource *Resources = NULL; @@ -162,6 +162,7 @@ ResourceID(Handle h) } +void GetIndString(char *str, int id, short num) { struct StringTable **tp, *st = NULL;