From 2b56b1f8b22a166b8c60acc57b481b0a7fe4ab44 Mon Sep 17 00:00:00 2001 From: Eric House Date: Tue, 29 Sep 2020 16:06:59 -0700 Subject: [PATCH] cleanup --- xwords4/common/comtypes.h | 2 +- xwords4/common/dictiter.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xwords4/common/comtypes.h b/xwords4/common/comtypes.h index 59a4f253e..eac0fd3d4 100644 --- a/xwords4/common/comtypes.h +++ b/xwords4/common/comtypes.h @@ -47,7 +47,7 @@ #endif #define MAX_COLS MAX_ROWS -#define STREAM_VERS_GICREATED 0x1C /* CurGameInfo gets created timestamp */ +#define STREAM_VERS_GICREATED 0x1C /* game struct gets created timestamp */ #define STREAM_VERS_DUPLICATE 0x1B #define STREAM_VERS_DISABLEDS 0x1A #define STREAM_VERS_DEVIDS 0x19 diff --git a/xwords4/common/dictiter.c b/xwords4/common/dictiter.c index 3fca89f12..cb846026d 100644 --- a/xwords4/common/dictiter.c +++ b/xwords4/common/dictiter.c @@ -1932,7 +1932,7 @@ di_wordToString( const DictIter* iter, XP_UCHAR* buf, XP_U16 buflen, iterToString( iter, buf, buflen, delim ); #ifdef DEBUG // If there's no delim, debug string should be same - if ( !delim || '\0' != *delim ) { + if ( !delim || '\0' == *delim ) { XP_ASSERT( 0 == XP_STRCMP( buf, iter->curWord ) ); } #endif