mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-25 22:10:59 +00:00
rename strlwr to Q_strlwr
This commit is contained in:
parent
cd54f56b36
commit
8869b0542d
5 changed files with 7 additions and 9 deletions
|
@ -485,7 +485,7 @@ FS_FOpenFileRead(fsHandle_t *handle)
|
|||
|
||||
if (!handle->file)
|
||||
{
|
||||
strlwr(path);
|
||||
Q_strlwr(path);
|
||||
handle->file = fopen(path, "rb");
|
||||
}
|
||||
|
||||
|
|
|
@ -213,8 +213,6 @@ void Com_sprintf(char *dest, int size, char *fmt, ...);
|
|||
|
||||
void Com_PageInMemory(byte *buffer, int size);
|
||||
|
||||
char *strlwr(char *s);
|
||||
|
||||
/* ============================================= */
|
||||
|
||||
/* portable case insensitive compare */
|
||||
|
@ -222,6 +220,9 @@ int Q_stricmp(const char *s1, const char *s2);
|
|||
int Q_strcasecmp(char *s1, char *s2);
|
||||
int Q_strncasecmp(char *s1, char *s2, int n);
|
||||
|
||||
/* portable string lowercase */
|
||||
char *Q_strlwr(char *s);
|
||||
|
||||
/* ============================================= */
|
||||
|
||||
short BigShort(short l);
|
||||
|
@ -266,7 +267,6 @@ extern int curtime; /* time returned by last Sys_Milliseconds */
|
|||
|
||||
int Sys_Milliseconds(void);
|
||||
void Sys_Mkdir(char *path);
|
||||
char *strlwr(char *s);
|
||||
|
||||
/* large block stack allocation routines */
|
||||
void *Hunk_Begin(int maxsize);
|
||||
|
|
|
@ -1119,7 +1119,7 @@ Com_sprintf(char *dest, int size, char *fmt, ...)
|
|||
}
|
||||
|
||||
char *
|
||||
strlwr ( char *s )
|
||||
Q_strlwr ( char *s )
|
||||
{
|
||||
char *p = s;
|
||||
|
||||
|
|
|
@ -93,8 +93,6 @@ typedef struct
|
|||
|
||||
#endif
|
||||
|
||||
char *strlwr(char *s);
|
||||
|
||||
extern viddef_t vid;
|
||||
|
||||
/*
|
||||
|
|
|
@ -1186,11 +1186,11 @@ R_Init(void *hinstance, void *hWnd)
|
|||
|
||||
strncpy(renderer_buffer, gl_config.renderer_string, sizeof(renderer_buffer));
|
||||
renderer_buffer[sizeof(renderer_buffer) - 1] = 0;
|
||||
strlwr(renderer_buffer);
|
||||
Q_strlwr(renderer_buffer);
|
||||
|
||||
strncpy(vendor_buffer, gl_config.vendor_string, sizeof(vendor_buffer));
|
||||
vendor_buffer[sizeof(vendor_buffer) - 1] = 0;
|
||||
strlwr(vendor_buffer);
|
||||
Q_strlwr(vendor_buffer);
|
||||
|
||||
ri.Cvar_Set("scr_drawall", "0");
|
||||
gl_config.allow_cds = true;
|
||||
|
|
Loading…
Reference in a new issue