Skip to content

Commit

Permalink
Fix win_glimp and sv_game compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
ensiform committed Dec 3, 2024
1 parent 1b46625 commit 110f22e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/server/sv_game.c
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ static intptr_t SV_GameSystemCalls( intptr_t *args ) {
return 0;
case G_GET_ENTITY_TOKEN:
{
const char *s = COM_Parse( &sv.entityParsePoint );
char *s = (char *)COM_Parse( &sv.entityParsePoint );
//Q_strncpyz( VMA(1), s, args[2] );
// we can't use our optimized Q_strncpyz() function
// because of uninitialized memory bug in defrag mod
Expand Down
2 changes: 1 addition & 1 deletion src/win32/win_glimp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1028,7 +1028,7 @@ static rserr_t GLW_SetMode( int mode, const char *modeFS, int colorbits, qboolea
//
// print out informational messages
//
if ( fullscreen && *modeFS )
if ( cdsFullscreen && *modeFS )
Com_Printf( "...setting mode %d:", atoi(modeFS) );
else
Com_Printf( "...setting mode %d:", mode );
Expand Down

0 comments on commit 110f22e

Please sign in to comment.