1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-01 03:10:06 +00:00

Formatting: Remove double-dots from comments and other strings

This commit is contained in:
reuk 2025-11-17 19:00:05 +00:00
parent 82dc6d1c7e
commit 83e5264c86
No known key found for this signature in database
209 changed files with 508 additions and 509 deletions

View file

@ -362,7 +362,7 @@ namespace X11ErrorHandling
// Usually happens when client-server connection is broken
static int ioErrorHandler (::Display*)
{
DBG ("ERROR: connection to X server broken.. terminating.");
DBG ("ERROR: connection to X server broken, terminating.");
if (JUCEApplicationBase::isStandaloneApp())
MessageManager::getInstance()->stopDispatchLoop();
@ -1077,7 +1077,7 @@ public:
}
}
// blit results to screen.
// blit results to screen
#if JUCE_USE_XSHM
if (isUsingXShm())
X11Symbols::getInstance()->xShmPutImage (display, (::Drawable) window, gc, xImage.get(), sx, sy, dx, dy, dw, dh, True);
@ -1350,12 +1350,12 @@ namespace ClipboardHelpers
return true;
}
return false; // the format we asked for was denied.. (event.xselection.property == None)
return false; // the format we asked for was denied (event.xselection.property == None)
}
// not very elegant.. we could do a select() or something like that...
// however clipboard content requesting is inherently slow on x11, it
// often takes 50ms or more so...
// not very elegant, we could do a select() or something like that;
// however, clipboard content requesting is inherently slow on x11, it
// often takes 50ms or more so
Thread::sleep (4);
}
@ -2520,7 +2520,7 @@ ModifierKeys XWindowSystem::getNativeRealtimeModifiers() const
XWindowSystemUtilities::ScopedXLock xLock;
// xQueryPointer doesn't emit masks for back/forward buttons.
// xQueryPointer doesn't emit masks for back/forward buttons
if (X11Symbols::getInstance()->xQueryPointer (display,
X11Symbols::getInstance()->xRootWindow (display,
X11Symbols::getInstance()->xDefaultScreen (display)),
@ -3228,7 +3228,7 @@ bool XWindowSystem::initialiseXDisplay()
displayName = ":0.0";
// it seems that on some systems XOpenDisplay will occasionally
// fail the first time, but succeed on a second attempt..
// fail the first time, but succeed on a second attempt
for (int retries = 2; --retries >= 0;)
{
display = X11Symbols::getInstance()->xOpenDisplay (displayName.toUTF8());