Subversion Repositories SvarDOS

Rev

Rev 1893 | Rev 1964 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1893 Rev 1959
Line 49... Line 49...
49
    pop ds
49
    pop ds
50
  }
50
  }
51
}
51
}
52
 
52
 
53
 
53
 
-
 
54
void outputnl(const char *s) {
-
 
55
  output(s);
-
 
56
  output("\r\n");
-
 
57
}
-
 
58
 
-
 
59
 
54
/* change all / to \ in a string */
60
/* change all / to \ in a string */
55
void slash2backslash(char *str) {
61
void slash2backslash(char *str) {
56
  int x;
62
  int x;
57
  for (x = 0; str[x] != 0; x++) {
63
  for (x = 0; str[x] != 0; x++) {
58
    if (str[x] == '/') str[x] = '\\';
64
    if (str[x] == '/') str[x] = '\\';
Line 68... Line 74...
68
      *fname = 0;
74
      *fname = 0;
69
      return(fname + 1);
75
      return(fname + 1);
70
    }
76
    }
71
    fname++;
77
    fname++;
72
  }
78
  }
73
  return(0);
79
  return(NULL);
74
}
80
}
75
 
81
 
76
 
82
 
77
void removeDoubleBackslashes(char *str) {
83
void removeDoubleBackslashes(char *str) {
78
  char *curpos;
84
  char *curpos;