Browse Source

Syntax

pull/4/head
jl777 5 years ago
parent
commit
ead3aefd44
  1. 1
      src/cc/rogue/list.c
  2. 2
      src/cc/rogue/main.c

1
src/cc/rogue/list.c

@ -30,6 +30,7 @@ int32_t numptrs;
int32_t thing_find(THING *ptr)
{
int32_t i;
for (i=0; i<numptrs; i++)
if ( item == thingptrs[i] )
return(i);

2
src/cc/rogue/main.c

@ -775,7 +775,7 @@ void rogue_progress(struct rogue_state *rs,int32_t waitflag,uint64_t seed,char *
if ( (keys= jstr(retjson,"keystrokes")) != 0 )
{
len = strlen(keys) / 2;
pastcmp = (char *)malloc(len + 1)
pastcmp = (char *)malloc(len + 1);
decode_hex(pastcmp,len,keys);
if ( len != numpastkeys || memcmp(pastcmp,pastkeys,len) != 0 )
{

Loading…
Cancel
Save