The character of every act depends upon the circumstances in which it is done.