diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-04-27 07:14:40 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-04-27 07:14:40 +0300 |
commit | a41e94c5da2acf868ec97de610afa06583dc843f (patch) | |
tree | e23ba0df712250d5fa51f12134e2fd8f129d5e65 /teccmd.c | |
parent | d461f4e32d2736fbae6f47d330b94cc4a8846cd1 (diff) | |
download | videoteco-fork-a41e94c5da2acf868ec97de610afa06583dc843f.tar.gz |
DOS: use backslash directory separators instead of slash
Diffstat (limited to 'teccmd.c')
-rw-r--r-- | teccmd.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1059,7 +1059,7 @@ int status; */ cp1 = cp2 = filename; while(*cp1){ - if(*cp1++ == '/') cp2 = cp1; + if(*cp1++ == TECO_DIRSEP) cp2 = cp1; }/* End While */ combined_len = strlen(filename); @@ -1221,7 +1221,7 @@ register int status; (void) strcpy(tmp_filename,pathname); if(strlen(tmp_filename)){ - (void) strcat(tmp_filename,"/"); + (void) strcat(tmp_filename,TECO_DIRSEP_S); }/* End IF */ (void) strcat(tmp_filename,output_filename); @@ -1585,7 +1585,7 @@ int i,status; if(cp = (char *)getenv("HOME")){ (void) strcpy(temp_buffer,cp); #ifndef VMS - (void) strcat(temp_buffer,"/"); + (void) strcat(temp_buffer,TECO_DIRSEP_S); #endif /* VMS */ }/* End IF */ |