diff --git a/contrib/gtkgensurf/gensurf.cpp b/contrib/gtkgensurf/gensurf.cpp index bc31f858..17160aa9 100644 --- a/contrib/gtkgensurf/gensurf.cpp +++ b/contrib/gtkgensurf/gensurf.cpp @@ -117,7 +117,7 @@ bool GenSurfInit(){ basepath = g_FuncTable.m_pfnReadProjectKey("basepath"); if (basepath) { - Q_strlwr (basepath); + strlwr (basepath); if (strstr(basepath,"baseq3")) Game = QUAKE3; else if (strstr (basepath,"baseq2")) diff --git a/contrib/gtkgensurf/heretic.cpp b/contrib/gtkgensurf/heretic.cpp index 00765538..7f24179a 100644 --- a/contrib/gtkgensurf/heretic.cpp +++ b/contrib/gtkgensurf/heretic.cpp @@ -75,7 +75,7 @@ int GetDefSurfaceProps( char *Tex ){ if (NULL != (fpak = fopen(pakfile[Game], "rb"))) { sprintf(path,"textures/%s.m8",Tex); - Q_strlwr(path); + strlwr(path); num=fread(&pakheader,1,sizeof(pak_header_t),fpak); if((size_t)num < sizeof(pak_header_t)) { @@ -116,7 +116,7 @@ int GetDefSurfaceProps( char *Tex ){ // Assume .map will be output to gamedir/maps, then back up // to the gamedir and append /textures. Ugly but it should work strcpy(path,gszMapFile); - Q_strlwr(path); + strlwr(path); p = strstr(path,"maps"); if(!p) return 0; p[0] = '\0';