~rabbits/left

b609cef06a0baa0dacfb527c86022ea6a3f4b063 — Devine Lu Linvega 2 months ago 5c0ff38
Fixed issue with empty filepath
1 files changed, 9 insertions(+), 0 deletions(-)

M src/left.tal
M src/left.tal => src/left.tal +9 -0
@@ 103,6 103,12 @@ JMP2
	;on-mouse .Mouse/vector DEO2
	;on-console .Console/vector DEO2
	#00 .Mouse/state DEO

	( if filepath is empty, reset to untitled )
	;filepath LDA ,&no-empty JCN
		;file-new/untitled-txt ;filepath ;scpy JSR2
		&no-empty

	#01 ;draw-filepath ( .. )

JMP2


@@ 884,6 890,9 @@ JMP2r

	,draw-ufx/color STR
	.textarea/font STZ2
	LDAk ,&no-null JCN
		POP2 JMP2r
		&no-null
	#15 .Screen/auto DEO
	&while
		LDAk ,draw-ufx/basic JSR