include doszip/doszip.inc
include	conio.inc

	public	cmquit
	public	cmexit

_DZIP	SEGMENT

cmexit	PROC	DIST
	test	byte ptr config.c_confirm,_C_CONFEXIT
	jz	cmquit
	invoke	rsmodal, IDD_DZExit
	or	ax,ax
	jnz	cmquit
	ret
cmexit	ENDP

cmquit	PROC	DIST
	mov	ax,1
	mov	mainswitch,ax
	ret
cmquit	ENDP

_DZIP	ENDS

	END
