Browse Source

tags/2021-05-28
jules 18 years ago
parent
commit
7c04d52988
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/juce_appframework/gui/components/juce_Desktop.cpp

+ 1
- 1
src/juce_appframework/gui/components/juce_Desktop.cpp View File

@@ -130,7 +130,7 @@ const Rectangle Desktop::getMonitorAreaContaining (int cx, int cy, const bool cl
Rectangle best (getMainMonitorArea (clippedToWorkArea));
double bestDistance = 1.0e10;
for (int i = getNumDisplayMonitors(); --i > 0;)
for (int i = getNumDisplayMonitors(); --i >= 0;)
{
const Rectangle rect (getDisplayMonitorCoordinates (i, clippedToWorkArea));


Loading…
Cancel
Save