diff compat.c @ 485:469ff8133ed3

Simplified the folder browser on OS/2, following some Unix changes.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Thu, 16 Oct 2003 08:12:01 +0000
parents b559c06a76c2
children 1a210e2f214b
line wrap: on
line diff
--- a/compat.c	Thu Oct 16 07:51:36 2003 +0000
+++ b/compat.c	Thu Oct 16 08:12:01 2003 +0000
@@ -547,6 +547,7 @@
 #endif
 #elif defined(__OS2__)
 	/* No snprintf() on OS/2 ??? */
+	len = len;
 	sprintf(buf, "Drive %c",  (char)drive + 'A' - 1);
 #else
 	_snprintf(buf, len, "Drive %c",  (char)drive + 'A' - 1);
@@ -576,6 +577,7 @@
 	sprintf(buffer, "%s %s", url, timebuf);
 
 #ifdef __OS2__
+	logfile = logfile;
 	eaop2.fpGEA2List = 0;
 	eaop2.fpFEA2List = (PFEA2LIST)malloc(fea2listsize);
 	pFEA2 = &eaop2.fpFEA2List->list[0];