From 7e0ae45592faca16203ef51a0957b6559864375b Mon Sep 17 00:00:00 2001 From: livecodepanos Date: Wed, 10 May 2017 10:01:41 +0100 Subject: [PATCH 1/2] [Bug 19630] Fix setting the iphoneSetAudioCategory --- engine/src/mblhandlers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/mblhandlers.cpp b/engine/src/mblhandlers.cpp index c5932c9df49..899eaf0bf3b 100644 --- a/engine/src/mblhandlers.cpp +++ b/engine/src/mblhandlers.cpp @@ -2627,7 +2627,7 @@ Exec_stat MCHandleSetAudioCategory(void *context, MCParameter *p_parameters) t_category = kMCSoundAudioCategoryUnknown; if (t_success) { - MCSoundAudioCategoryFromString(*t_category_string); + t_category = MCSoundAudioCategoryFromString(*t_category_string); } if (t_success) From 59ef19f6358bcb0bb937299b64c18d13eb03af2c Mon Sep 17 00:00:00 2001 From: livecodepanos Date: Wed, 10 May 2017 10:03:59 +0100 Subject: [PATCH 2/2] [Bug 19630] Added bugfix note --- docs/notes/bugfix-19630.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 docs/notes/bugfix-19630.md diff --git a/docs/notes/bugfix-19630.md b/docs/notes/bugfix-19630.md new file mode 100644 index 00000000000..71052baff84 --- /dev/null +++ b/docs/notes/bugfix-19630.md @@ -0,0 +1 @@ +# Make sure setting the iphoneSetAudioCategory is respected