summaryrefslogtreecommitdiffstats
path: root/src/lib/platform/OSXClipboard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/platform/OSXClipboard.cpp')
-rw-r--r--src/lib/platform/OSXClipboard.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/platform/OSXClipboard.cpp b/src/lib/platform/OSXClipboard.cpp
index e55c8e0..ff1779c 100644
--- a/src/lib/platform/OSXClipboard.cpp
+++ b/src/lib/platform/OSXClipboard.cpp
@@ -2,11 +2,11 @@
* barrier -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
- *
+ *
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file LICENSE that should have accompanied this file.
- *
+ *
* This package is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@@ -52,7 +52,7 @@ OSXClipboard::OSXClipboard() :
OSStatus syncErr = PasteboardSynchronize(m_pboard);
if (syncErr != noErr) {
- LOG((CLOG_DEBUG "failed to syncronize clipboard: error %i", syncErr));
+ LOG((CLOG_DEBUG "failed to synchronize clipboard: error %i", syncErr));
}
}
@@ -90,7 +90,7 @@ OSXClipboard::synchronize()
return true;
}
return false;
-}
+}
void OSXClipboard::add(EFormat format, const std::string& data)
{
@@ -126,15 +126,15 @@ void OSXClipboard::add(EFormat format, const std::string& data)
flavorType,
dataRef,
kPasteboardFlavorNoFlags);
-
+
LOG((CLOG_DEBUG "added %d bytes to clipboard format: %d", data.size(), format));
}
-
+
}
}
bool
-OSXClipboard::open(Time time) const
+OSXClipboard::open(Time time) const
{
if (m_pboard == NULL)
return false;