ref: 3e7b18472cba687a04f6cd9be66ad531ed24283c
parent: 8af2e42736b61a36a0d54bede93a47a1bab35f5d
author: Olav Sørensen <[email protected]>
date: Fri Apr 2 07:54:11 EDT 2021
Fixed problem loading audio settings from config in v1.45
--- a/src/ft2_audioselector.c
+++ b/src/ft2_audioselector.c
@@ -62,7 +62,7 @@
if (devStringLen > 0)
{
if (devString[devStringLen-1] == '\n')
- devString[devStringLen-1] = ' ';
+ devString[devStringLen-1] = '\0';
if (!(devStringLen == 1 && devString[0] == ' ')) // space only = no device
audioDeviceRead = true;
@@ -111,7 +111,7 @@
if (devStringLen > 0)
{
if (devString[devStringLen-1] == '\n')
- devString[devStringLen-1] = ' ';
+ devString[devStringLen-1] = '\0';
if (!(devStringLen == 1 && devString[0] == ' ')) // space only = no device
audioDeviceRead = true;
--- a/src/ft2_header.h
+++ b/src/ft2_header.h
@@ -12,7 +12,7 @@
#endif
#include "ft2_replayer.h"
-#define PROG_VER_STR "1.45"
+#define PROG_VER_STR "1.46"
// do NOT change these! It will only mess things up...