Skip to content

Commit

Permalink
Update q_shared.c
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfetplayer committed Sep 15, 2021
1 parent b660e66 commit 8b827c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/qcommon/q_shared.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ COM_StripFilename
*/
void COM_StripFilename( char *in, char *out ) {
char *end;
Q_strncpyz( out, in, strlen( in ) );
memcpy( out, in, strlen( in ) );
end = COM_SkipPath( out );
*end = 0;
}
Expand Down

0 comments on commit 8b827c4

Please sign in to comment.