-- ase -- allegro-sprite-editor: the ultimate sprites factory -- Copyright (C) 2001-2005 by David A. Capello function GUI_Exit() local sprite = get_first_sprite() local clipboard = get_clipboard_sprite() while sprite do -- check if this sprite is modified if sprite_is_modified(sprite) and (not clipboard or sprite.id != clipboard.id) then if jalert(_("Warning<