Skip to content

Commit

Permalink
fix subarch references from integer to string
Browse files Browse the repository at this point in the history
  • Loading branch information
goshhhy committed Aug 9, 2022
1 parent 1e19135 commit 846abf9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/cl_demo.c
Original file line number Diff line number Diff line change
Expand Up @@ -336,9 +336,9 @@ void CL_FinishTimeDemo (void)
time = 1;
Con_Printf ("%i frames %5.1f seconds %5.1f fps\n", frames, time, frames/time);
#if id386
Con_Printf (" on %iQuake -%s%s v%4.2f\n", SUBARCH, OLEVEL, LTOFLAGS, VERSION);
Con_Printf (" on %sQuake -%s%s v%4.2f\n", SUBARCH, OLEVEL, LTOFLAGS, VERSION);
#else
Con_Printf (" on %iQuake -%s%s noasm v%4.2f\n", SUBARCH, OLEVEL, LTOFLAGS, VERSION);
Con_Printf (" on %sQuake -%s%s noasm v%4.2f\n", SUBARCH, OLEVEL, LTOFLAGS, VERSION);
#endif
Con_Printf (" %s\n", CCVERSION);
}
Expand Down
4 changes: 2 additions & 2 deletions src/draw.c
Original file line number Diff line number Diff line change
Expand Up @@ -558,10 +558,10 @@ void Draw_ConsoleBackground (int lines)
sprintf (ver, "(Linux Quake %2.2f) %4.2f", (float)LINUX_VERSION, (float)VERSION);
dest = conback->data + 320*186 + 320 - 11 - 8*strlen(ver);
#elif defined(id386)
sprintf (ver, "%iquake r%i -%s%s %4.2f", SUBARCH, REVISION, OLEVEL, LTOFLAGS, VERSION);
sprintf (ver, "%squake r%i -%s%s %4.2f", SUBARCH, REVISION, OLEVEL, LTOFLAGS, VERSION);
dest = conback->data + 320*186 + 320 - 11 - 8*strlen(ver);
#else
sprintf (ver, "%iquake r%i -%s%s noasm %4.2f", SUBARCH, REVISION, OLEVEL, LTOFLAGS, VERSION);
sprintf (ver, "%squake r%i -%s%s noasm %4.2f", SUBARCH, REVISION, OLEVEL, LTOFLAGS, VERSION);
dest = conback->data + 320*186 + 320 - 11 - 8*strlen(ver);
#endif

Expand Down
2 changes: 1 addition & 1 deletion src/sys_dos.c
Original file line number Diff line number Diff line change
Expand Up @@ -889,7 +889,7 @@ int main (int c, char **v)
extern void (*dos_error_func)(char *, ...);
static char cwd[1024];

printf ("%iQuake -%s%s v%4.2f built with %s\n", SUBARCH, OLEVEL, LTOFLAGS, VERSION, CCVERSION);
printf ("%sQuake -%s%s v%4.2f built with %s\n", SUBARCH, OLEVEL, LTOFLAGS, VERSION, CCVERSION);

// make sure there's an FPU
signal(SIGNOFP, Sys_NoFPUExceptionHandler);
Expand Down

0 comments on commit 846abf9

Please sign in to comment.