Skip to content

Commit c46883f

Browse files
committed
xrCore/Xr_ini: strncpy_s() -> xr_strcpy().
1 parent f8d73f8 commit c46883f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/xrCore/Xr_ini.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ BOOL CInifile::r_bool(LPCSTR S, LPCSTR L)const
680680
)
681681
);
682682
char B[8];
683-
strncpy_s(B, sizeof(B), C, 7);
683+
xr_strcpy(B, 7, C);
684684
B[7] = 0;
685685
xr_strlwr(B);
686686
return IsBOOL(B);

0 commit comments

Comments
 (0)