opnsense-ports/audio/muse-sequencer/files/patch-libs_string_hex__float.cpp
Franco Fichtner 70c826a2e2 */*: sync with upstream
Taken from: FreeBSD
2023-08-09 09:50:30 +02:00

13 lines
360 B
C++

- workaround for https://github.com/muse-sequencer/muse/issues/1236
--- libs/string/hex_float.cpp.orig 2023-08-09 00:25:02 UTC
+++ libs/string/hex_float.cpp
@@ -70,6 +70,8 @@ double museStringToDouble(const QString &s, bool *ok)
if(ok)
*ok = true;
+ return value;
+
#else // C++ istringstream does not support hexfloat
// Is it a hex number?