This commit is contained in:
Eric House 2020-02-02 19:52:51 -08:00
parent 2031dec216
commit 4c19a00263
4 changed files with 7 additions and 5 deletions

View file

@ -419,7 +419,7 @@ mem_stream_getHash( const XWStreamCtxt* p_sctx, XWStreamPos pos,
}
hash = finishHash( hash );
XP_LOGF( "%s(nBytes=%d, nBits=%d) => %X", __func__, len, bits, hash );
/* XP_LOGF( "%s(nBytes=%d, nBits=%d) => %X", __func__, len, bits, hash ); */
return hash;
} /* mem_stream_getHash */

View file

@ -364,7 +364,6 @@ curses_draw_drawTimer( DrawCtx* p_dctx, const XP_Rect* rInner,
formatTimerText( buf, VSIZE(buf), secondsLeft );
mvwprintw( dctx->boardWin, rInner->top, rInner->left, buf );
wrefresh( dctx->boardWin );
XP_LOGF( "%s(): drew %s at %d,%d", __func__, buf, rInner->left, rInner->top );
}
static void

View file

@ -140,6 +140,8 @@ linux_dutil_getUserString( XW_DUtilCtxt* XP_UNUSED(uc), XP_U16 code )
return (XP_UCHAR*)"- %d [unused tiles]";
case STR_COMMIT_CONFIRM:
return (XP_UCHAR*)"Are you sure you want to commit the current move?\n";
case STR_SUBMIT_CONFIRM:
return (XP_UCHAR*)"Submit the current move?\n";
case STRD_TURN_SCORE:
return (XP_UCHAR*)"Score for turn: %d\n";
case STR_BONUS_ALL:
@ -205,7 +207,8 @@ linux_dutil_getUserString( XW_DUtilCtxt* XP_UNUSED(uc), XP_U16 code )
return "%d of %d players have reported their moves.";
default:
return (XP_UCHAR*)"unknown code to linux_util_getUserString";
XP_LOGF( "%s(code=%d)", __func__, code );
return (XP_UCHAR*)"unknown code";
}
} /* linux_dutil_getUserString */

View file

@ -1118,9 +1118,9 @@ linux_getDevIDRelay( LaunchParams* params )
gchar buf[32];
if ( db_fetch_safe( params->pDb, KEY_RDEVID, buf, sizeof(buf) ) ) {
sscanf( buf, "%X", &result );
XP_LOGF( "%s(): %s => %x", __func__, buf, result );
/* XP_LOGF( "%s(): %s => %x", __func__, buf, result ); */
}
LOG_RETURNF( "%d", result );
/* LOG_RETURNF( "%d", result ); */
return result;
}