abc2svg
Check-in [f6cf1e3d48]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:core: fix: crash when transposition and voice appearing in the middle of the tune
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: f6cf1e3d483b4066a35f2b3d98d503b6adaba8b5
User & Date: jef 2022-01-30 09:04:19.426
Context
2022-01-30
09:50
core: fix: crash when many voices, bar at start of tune and chord symbol - issue [f7a393f19f] ... (check-in: 34015ed95c user: jef tags: trunk)
09:04
core: fix: crash when transposition and voice appearing in the middle of the tune ... (check-in: f6cf1e3d48 user: jef tags: trunk)
2022-01-14
10:35
editor: add loading 'pref.js' containing a 'default.abc' ... (check-in: 9889408aec user: jef tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to core/tune.js.
1805
1806
1807
1808
1809
1810
1811


1812
1813
1814
1815
1816
1817
1818
	}
}

// check if a clef, key or time signature may go at start of the current voice
function is_voice_sig() {
	var s



	if (curvoice.time)
		return false
	for (s = curvoice.last_sym; s; s = s.prev)
		if (w_tb[s.type])
			return false
	return true
}







>
>







1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
	}
}

// check if a clef, key or time signature may go at start of the current voice
function is_voice_sig() {
	var s

	if (!curvoice.last_sym)
		return true
	if (curvoice.time)
		return false
	for (s = curvoice.last_sym; s; s = s.prev)
		if (w_tb[s.type])
			return false
	return true
}