diff --git a/modules/juce_gui_extra/native/juce_WebBrowserComponent_linux.cpp b/modules/juce_gui_extra/native/juce_WebBrowserComponent_linux.cpp index 88849c2c9f..0ea1c1e4dd 100644 --- a/modules/juce_gui_extra/native/juce_WebBrowserComponent_linux.cpp +++ b/modules/juce_gui_extra/native/juce_WebBrowserComponent_linux.cpp @@ -473,7 +473,7 @@ public: auto actual = read (inChannel, &dst[pos], static_cast (len - pos)); - if (actual < 0) + if (actual <= 0) { if (errno == EINTR) continue;