From 2f2136af253708ed24acbf57150d7c74fab95a9c Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Sat, 2 Dec 2023 13:11:55 +0100 Subject: [PATCH] moved function call (no functional change) --- src/tools.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/tools.c b/src/tools.c index ea314a3e..c730e851 100644 --- a/src/tools.c +++ b/src/tools.c @@ -3339,8 +3339,6 @@ static void ShowEnvelopeRequest(char *text, unsigned int req_state, int action) if (action == ACTION_OPENING) { - DrawEnvelopeRequest(text, req_state); - PlayMenuSoundStereo(sound_opening, SOUND_MIDDLE); if (anim_mode == ANIM_DEFAULT) @@ -4973,6 +4971,7 @@ static boolean RequestEnvelope(char *text, unsigned int req_state) DoRequestBefore(req_state); + DrawEnvelopeRequest(text, req_state); ShowEnvelopeRequest(text, req_state, ACTION_OPENING); if (!(req_state & REQUEST_WAIT_FOR_INPUT)) -- 2.34.1