diff options
| author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2025-09-20 19:19:41 +0200 | 
|---|---|---|
| committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2025-09-20 19:19:41 +0200 | 
| commit | 63ec5715054be18ac4db5675e067b41c955d03b9 (patch) | |
| tree | 42bb5764b05bd3bc5bffadb55f4375e6dce8a521 /app/bin/compound.c | |
| parent | 6c1a798b0302034a7fdcaf93b8f014e2e458c2a0 (diff) | |
| parent | e7d20cf352688bf717a01f4e6d9e6f497c2bea4c (diff) | |
Update upstream source from tag 'upstream/5.3.1Beta2'
Update to upstream version '5.3.1Beta2'
with Debian dir 36e53756d97319b1944d0ea744717abc9326f697
Diffstat (limited to 'app/bin/compound.c')
| -rw-r--r-- | app/bin/compound.c | 12 | 
1 files changed, 1 insertions, 11 deletions
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) );  | 
