mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
Typos (really ought to remember to test compile *before* committing, rather than immediately after).
This commit is contained in:
parent
dc947ce8f5
commit
55dfead066
2 changed files with 3 additions and 3 deletions
|
@ -554,10 +554,10 @@ PF_sprintf (progs_t *pr)
|
||||||
char *format;
|
char *format;
|
||||||
char *c; // current
|
char *c; // current
|
||||||
char *out = 0;
|
char *out = 0;
|
||||||
|
char new_format[INT_WIDTH * 2 + 9]; // "%0-+ #." and conversion
|
||||||
int fmt_alternate, fmt_leadzero, fmt_leftjust, fmt_minwidth,
|
int fmt_alternate, fmt_leadzero, fmt_leftjust, fmt_minwidth,
|
||||||
fmt_precision, fmt_signed, fmt_space, looping, new_format_i, ret;
|
fmt_precision, fmt_signed, fmt_space, looping, new_format_i, ret;
|
||||||
int cur_arg = 3, out_max = 32, out_size = 0;
|
int curarg = 3, out_max = 32, out_size = 0;
|
||||||
char new_format[INT_WIDTH * 2 + 9]; // "%0-+ #." and conversion
|
|
||||||
|
|
||||||
format = G_STRING (pr, OFS_PARM0);
|
format = G_STRING (pr, OFS_PARM0);
|
||||||
c = format;
|
c = format;
|
||||||
|
|
|
@ -162,8 +162,8 @@ opcode_t pr_opcodes[] = {
|
||||||
static const char *
|
static const char *
|
||||||
get_key (void *_op, void *unused)
|
get_key (void *_op, void *unused)
|
||||||
{
|
{
|
||||||
char *r = rep;
|
|
||||||
static char rep[4];
|
static char rep[4];
|
||||||
|
char *r = rep;
|
||||||
opcode_t *op = (opcode_t *)_op;
|
opcode_t *op = (opcode_t *)_op;
|
||||||
|
|
||||||
*r++ = (op->opcode & 0x7f) + 2;
|
*r++ = (op->opcode & 0x7f) + 2;
|
||||||
|
|
Loading…
Reference in a new issue