mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-18 15:32:33 +00:00
Little polish things I forgot to tweak.
This commit is contained in:
parent
8f2490d588
commit
308503d5b8
2 changed files with 3 additions and 3 deletions
|
@ -74,7 +74,7 @@ int snprintf(char *str, size_t n, const char *fmt, ...);
|
|||
#include "m_cond.h" // condition initialization
|
||||
#include "fastcmp.h"
|
||||
#include "keys.h"
|
||||
#include "filesrch.h" // mainwadstally
|
||||
#include "filesrch.h" // refreshdirmenu, mainwadstally
|
||||
|
||||
#ifdef CMAKECONFIG
|
||||
#include "config.h"
|
||||
|
|
|
@ -56,8 +56,8 @@ size_t strlcpy(char *dst, const char *src, size_t siz)
|
|||
// stack overflow, eep...
|
||||
char* stristr(char* haystack, const char* needle)
|
||||
{
|
||||
char* p1 = haystack ;
|
||||
const char* p2 = needle ;
|
||||
char* p1 = haystack;
|
||||
const char* p2 = needle;
|
||||
char* r = ((*p2 == 0) ? haystack : 0);
|
||||
|
||||
while (*p1 != 0 && *p2 != 0)
|
||||
|
|
Loading…
Reference in a new issue