aboutsummaryrefslogtreecommitdiff
path: root/sp/src/public/tier1/ilocalize.h
diff options
context:
space:
mode:
authorJoe Ludwig <[email protected]>2013-07-04 11:20:31 -0700
committerJoe Ludwig <[email protected]>2013-07-04 11:20:31 -0700
commit77b376f8a0d8d172c51729762f80bb394534aa41 (patch)
tree79897a015745704f7202eaa6648c18f2e5312df4 /sp/src/public/tier1/ilocalize.h
parentAdding a CONTRIBUTING file so the rights that GitHub users grant to Valve wit... (diff)
downloadsource-sdk-2013-77b376f8a0d8d172c51729762f80bb394534aa41.tar.xz
source-sdk-2013-77b376f8a0d8d172c51729762f80bb394534aa41.zip
* Switched the SDK from checked-in projects to VPC, the Valve Project Creator. See the Getting Started document on the wiki for details.
* Pulled in bug fixes from HL2 and HL2MP.
Diffstat (limited to 'sp/src/public/tier1/ilocalize.h')
-rw-r--r--sp/src/public/tier1/ilocalize.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sp/src/public/tier1/ilocalize.h b/sp/src/public/tier1/ilocalize.h
index c96b3ff7..348986ad 100644
--- a/sp/src/public/tier1/ilocalize.h
+++ b/sp/src/public/tier1/ilocalize.h
@@ -135,8 +135,11 @@ private:
typedef char locchar_t;
#define loc_snprintf Q_snprintf
+ #define loc_sprintf_safe V_snprintf_safe
#define loc_sncat Q_strncat
+ #define loc_scat_safe V_strcat_safe
#define loc_sncpy Q_strncpy
+ #define loc_scpy_safe V_strcpy_safe
#define loc_strlen Q_strlen
#define LOCCHAR( x ) x
@@ -145,8 +148,11 @@ private:
typedef wchar_t locchar_t;
#define loc_snprintf V_snwprintf
+ #define loc_sprintf_safe V_snwprintf_safe
#define loc_sncat V_wcsncat
+ #define loc_scat_safe V_wcscat_safe
#define loc_sncpy Q_wcsncpy
+ #define loc_scpy_safe V_wcscpy_safe
#define loc_strlen Q_wcslen
#define LOCCHAR(x) L ## x