Skip to content
Snippets Groups Projects
Commit 947e1f5e authored by deuce's avatar deuce
Browse files

Lower-case extensions for .RIP/.ANS/.AVT/.ASC files.

parent 8fa65369
No related branches found
No related tags found
No related merge requests found
...@@ -299,7 +299,7 @@ ODAPIDEF BOOL ODCALL od_send_file(char *pszFileName) ...@@ -299,7 +299,7 @@ ODAPIDEF BOOL ODCALL od_send_file(char *pszFileName)
/* Get filename of remote file. */ /* Get filename of remote file. */
strcpy(szODWorkString, pszFileName); strcpy(szODWorkString, pszFileName);
strcat(szODWorkString, ".RIP"); strcat(szODWorkString, ".rip");
strupr(szODWorkString); strupr(szODWorkString);
} }
else else
...@@ -316,7 +316,7 @@ ODAPIDEF BOOL ODCALL od_send_file(char *pszFileName) ...@@ -316,7 +316,7 @@ ODAPIDEF BOOL ODCALL od_send_file(char *pszFileName)
strcpy(szODWorkString, pszFileName); strcpy(szODWorkString, pszFileName);
strupr(szODWorkString); strupr(szODWorkString);
if(strstr(szODWorkString, ".RIP")) if(strstr(szODWorkString, ".rip"))
{ {
/* No page pausing during .RIP display. */ /* No page pausing during .RIP display. */
bPausing = FALSE; bPausing = FALSE;
...@@ -638,7 +638,7 @@ ODAPIDEF BOOL ODCALL od_send_file_section(char *pszFileName, char *pszSectionNam ...@@ -638,7 +638,7 @@ ODAPIDEF BOOL ODCALL od_send_file_section(char *pszFileName, char *pszSectionNam
/* Get filename of remote file. */ /* Get filename of remote file. */
strcpy(szODWorkString, pszFileName); strcpy(szODWorkString, pszFileName);
strcat(szODWorkString, ".RIP"); strcat(szODWorkString, ".rip");
strupr(szODWorkString); strupr(szODWorkString);
} }
else else
...@@ -655,7 +655,7 @@ ODAPIDEF BOOL ODCALL od_send_file_section(char *pszFileName, char *pszSectionNam ...@@ -655,7 +655,7 @@ ODAPIDEF BOOL ODCALL od_send_file_section(char *pszFileName, char *pszSectionNam
strcpy(szODWorkString, pszFileName); strcpy(szODWorkString, pszFileName);
strupr(szODWorkString); strupr(szODWorkString);
if(strstr(szODWorkString, ".RIP")) if(strstr(szODWorkString, ".rip"))
{ {
/* No page pausing during .RIP display. */ /* No page pausing during .RIP display. */
bPausing = FALSE; bPausing = FALSE;
...@@ -957,21 +957,21 @@ static FILE *ODEmulateFindCompatFile(char *pszBaseName, INT *pnLevel) ...@@ -957,21 +957,21 @@ static FILE *ODEmulateFindCompatFile(char *pszBaseName, INT *pnLevel)
{ {
case LEVEL_RIP: case LEVEL_RIP:
if(!od_control.user_rip) continue; if(!od_control.user_rip) continue;
strcat(szODWorkString, ".RIP"); strcat(szODWorkString, ".rip");
break; break;
case LEVEL_AVATAR: case LEVEL_AVATAR:
if(!od_control.user_avatar) continue; if(!od_control.user_avatar) continue;
strcat(szODWorkString, ".AVT"); strcat(szODWorkString, ".avt");
break; break;
case LEVEL_ANSI: case LEVEL_ANSI:
if(!od_control.user_ansi) continue; if(!od_control.user_ansi) continue;
strcat(szODWorkString, ".ANS"); strcat(szODWorkString, ".ans");
break; break;
case LEVEL_ASCII: case LEVEL_ASCII:
strcat(szODWorkString, ".ASC"); strcat(szODWorkString, ".asc");
break; break;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment