*** ORIGINAL/ThinkMore.m	Wed Sep 25 23:03:47 1991
--- ThinkMore.m	Mon Sep 30 23:40:01 1991
***************
*** 462,467 ****
--- 462,468 ----
      NXStream *nxstderr;
      char path[MAXPATHLEN];
      char *filenames[] = {path, NULL};
+     char *iptr;
  
      nxstderr = NXOpenFile(2, NX_WRITEONLY);
  
***************
*** 489,495 ****
  		numstrings = [viewNames count];
  		ok = YES;
  		strcpy(path, de->d_name);
! 		*(rindex(path, 'V')) = '\0';
  
  		for (i=0; i< numstrings; i++)
  		{
--- 490,499 ----
  		numstrings = [viewNames count];
  		ok = YES;
  		strcpy(path, de->d_name);
! 
! 		// truncate filename
! 		if ((iptr = rindex(path, 'V')) != NULL)
! 			*iptr = '\0';
  
  		for (i=0; i< numstrings; i++)
  		{
