From 09795a01ef859f072920de9df974d1b03b9ab9a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Wed, 28 Dec 2016 20:24:50 +0100 Subject: New upstream version 4.2.4a --- app/bin/cmisc.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'app/bin/cmisc.c') diff --git a/app/bin/cmisc.c b/app/bin/cmisc.c index fe8beea..bb6e700 100644 --- a/app/bin/cmisc.c +++ b/app/bin/cmisc.c @@ -1,7 +1,5 @@ /** \file cmisc.c - * Handlimg of the 'Describe' dialog - * - * $Header: /home/dmarkle/xtrkcad-fork-cvs/xtrkcad/app/bin/cmisc.c,v 1.7 2009-07-08 18:40:27 m_fischer Exp $ + * Handling of the 'Describe' dialog */ /* XTrkCad - Model Railroad CAD @@ -337,12 +335,12 @@ void DoDescribe( char * title, track_p trk, descData_p data, descUpdate_t update wControlActive( ddp->control1, ((ddp->mode|ro_mode)&DESC_RO)==0 ); break; case DESC_LAYER: - wListClear(ddp->control0); // Rebuild list on each invovation + wListClear((wList_p)ddp->control0); // Rebuild list on each invovation for ( inx = 0; inxcontrol0, message, NULL, (void*)inx ); + wListAddValue( (wList_p)ddp->control0, message, NULL, (void*)(intptr_t)inx ); } } break; -- cgit v1.2.3