From e7d20cf352688bf717a01f4e6d9e6f497c2bea4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 20 Sep 2025 19:19:34 +0200 Subject: New upstream version 5.3.1Beta2 --- app/bin/compound.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'app/bin/compound.c') diff --git a/app/bin/compound.c b/app/bin/compound.c index dea754d..d2ed27a 100644 --- a/app/bin/compound.c +++ b/app/bin/compound.c @@ -854,7 +854,7 @@ static void UpdateCompound( track_p trk, int inx, descData_p descUpd, DrawCompoundDescription( trk, &mainD, wDrawColorWhite ); } /*sprintf( message, "%s\t%s\t%s", manufS, nameS, partnoS );*/ - if (xx->title) { MyFree(xx->title); } + if (xx->title) { UndoDeferFree(xx->title); } xx->title = newTitle; xx->flipped = flipped; xx->ungrouped = ungrouped; @@ -1349,7 +1349,6 @@ BOOL_T ReadCompound( char scale[10]; char *title; wIndex_t layer; - char *cp; long options = 0; long position = 0; long lineType = 0; @@ -1389,15 +1388,6 @@ BOOL_T ReadCompound( return FALSE; } } - if (paramVersion<6 && strlen( title ) > 2) { - cp = strchr( title, '\t' ); - if (cp != NULL) { - cp = strchr( cp, '\t' ); - } - if (cp == NULL) { - UpdateTitleMark( title, LookupScale(scale) ); - } - } trk = NewCompound( trkType, index, orig, angle, title, 0, NULL, pathCnt > 1 ? pathPtr : NULL, tempSegs_da.cnt, &tempSegs(0) ); -- cgit v1.2.3