[Spice-devel,vdagent-win,5/6] vdagent: remove whitespaces

Submitted by Arnon Gilboa on July 24, 2011, 9:38 p.m.

Details

Message ID 1311518301-1446-6-git-send-email-agilboa@redhat.com
State New, archived
Headers show

Not browsing as part of any series.

Commit Message

Arnon Gilboa July 24, 2011, 9:38 p.m.
---
 vdagent/vdagent.cpp |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

Patch hide | download patch | download mbox

diff --git a/vdagent/vdagent.cpp b/vdagent/vdagent.cpp
index 1ebf1e4..646afed 100644
--- a/vdagent/vdagent.cpp
+++ b/vdagent/vdagent.cpp
@@ -565,11 +565,11 @@  bool VDAgent::handle_clipboard(VDAgentClipboard* clipboard, uint32_t size)
 
 HGLOBAL VDAgent::utf8_alloc(LPCSTR data, int size)
 {
-    HGLOBAL handle; 
+    HGLOBAL handle;
     LPVOID buf;
     int len;
 
-    // Received utf8 string is not null-terminated   
+    // Received utf8 string is not null-terminated
     if (!(len = MultiByteToWideChar(CP_UTF8, 0, data, size, NULL, 0))) {
         return NULL;
     }
@@ -581,7 +581,7 @@  HGLOBAL VDAgent::utf8_alloc(LPCSTR data, int size)
     if (!(buf = GlobalLock(handle))) {
         GlobalFree(handle);
         return NULL;
-    }  
+    }
     // Translate data and set clipboard content
     if (!(MultiByteToWideChar(CP_UTF8, 0, data, size, (LPWSTR)buf, len))) {
         GlobalUnlock(handle);
@@ -1027,7 +1027,7 @@  uint32_t VDAgent::get_clipboard_format(uint32_t type)
     for (int i = 0; i < clipboard_formats_count; i++) {
         for (uint32_t* ptype = clipboard_formats[i].types; *ptype; ptype++) {
             if (*ptype == type) {
-                return clipboard_formats[i].format; 
+                return clipboard_formats[i].format;
             }
         }
     }