This website works better with JavaScript.
Home
Help
Sign In
DISTRHO
/
JUCE
mirror of
https://github.com/DISTRHO/JUCE
Watch
1
Star
0
Fork
0
Code
Releases
1
Activity
Browse Source
Added a compatibility fix for older compilers
tags/2021-05-28
tpoole
8 years ago
parent
7e6a650e8c
commit
ebce454514
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
modules/juce_core/text/juce_CharacterFunctions.h
+ 1
- 1
modules/juce_core/text/juce_CharacterFunctions.h
View File
@@ -198,7 +198,7 @@ public:
while (text.isDigit())
{
if (currentCharacter ==
std::end (buffer) - 1
)
if (currentCharacter ==
&buffer[bufferSize - 1]
)
return std::numeric_limits<double>::quiet_NaN();
int digit = (int) text.getAndAdvance() - '0';
Write
Preview
Loading…
Cancel
Save