mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +01:00
print gameid as hex
This commit is contained in:
parent
87557ce769
commit
35ef711c42
1 changed files with 5 additions and 2 deletions
|
@ -202,7 +202,7 @@ init_games_list( GtkAppGlobals* apg )
|
|||
GDK_TYPE_PIXBUF,/* ROW_THUMB */
|
||||
G_TYPE_STRING, /* NAME_ITEM */
|
||||
G_TYPE_STRING, /* CREATED_ITEM */
|
||||
G_TYPE_INT, /* GAMEID_ITEM */
|
||||
G_TYPE_STRING, /* GAMEID_ITEM */
|
||||
G_TYPE_STRING, /* LANG_ITEM */
|
||||
G_TYPE_INT, /* SEED_ITEM */
|
||||
G_TYPE_INT, /* ROLE_ITEM */
|
||||
|
@ -274,12 +274,15 @@ add_to_list( GtkWidget* list, sqlite3_int64 rowid, XP_Bool isNew,
|
|||
formatSeconds( gib->dupTimerExpires, timerStr, VSIZE(timeStr) );
|
||||
}
|
||||
|
||||
gchar gameIDStr[16];
|
||||
sprintf( gameIDStr, "%8X", gib->gameID );
|
||||
|
||||
gtk_list_store_set( store, &iter,
|
||||
ROW_ITEM, rowid,
|
||||
ROW_THUMB, gib->snap,
|
||||
NAME_ITEM, gib->name,
|
||||
CREATED_ITEM, createdStr,
|
||||
GAMEID_ITEM, gib->gameID,
|
||||
GAMEID_ITEM, gameIDStr,
|
||||
LANG_ITEM, gib->isoCode,
|
||||
SEED_ITEM, gib->seed,
|
||||
ROLE_ITEM, gib->role,
|
||||
|
|
Loading…
Add table
Reference in a new issue