Browse Source

Fixed an incorrect UTF8 string character conversion in WebBrowserComponent

tags/2021-05-28
hogliux 8 years ago
parent
commit
6475111aa5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_gui_extra/native/juce_mac_WebBrowserComponent.mm

+ 1
- 1
modules/juce_gui_extra/native/juce_mac_WebBrowserComponent.mm View File

@@ -86,7 +86,7 @@ private:
{
if ([frame isEqual: [sender mainFrame]])
{
const char* errorString = [[error localizedDescription] UTF8String];
String errorString (nsStringToJuce ([error localizedDescription]));
bool proceedToErrorPage = getOwner (self)->pageLoadHadNetworkError (errorString);


Loading…
Cancel
Save