From 4a23414d9e4aa08d094e112b34886c69e62883c2 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 11 Aug 2012 20:41:52 +0530 Subject: [PATCH] ... --- src/calibre/devices/mtp/windows/wpd.cpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/calibre/devices/mtp/windows/wpd.cpp b/src/calibre/devices/mtp/windows/wpd.cpp index 7fcfad154a..8c227b4a19 100644 --- a/src/calibre/devices/mtp/windows/wpd.cpp +++ b/src/calibre/devices/mtp/windows/wpd.cpp @@ -63,7 +63,7 @@ static wchar_t *unicode_to_wchar(PyObject *o) { return buf; } -static IPortableDeviceValues *get_client_information() { +static IPortableDeviceValues *get_client_information() { // {{{ IPortableDeviceValues *client_information; HRESULT hr; @@ -98,9 +98,9 @@ static IPortableDeviceValues *get_client_information() { Py_END_ALLOW_THREADS; if (FAILED(hr)) { hresult_set_exc("Failed to set quality of service", hr); return NULL; } return client_information; -} +} // }}} -static IPortableDevice *open_device(const wchar_t *pnp_id, IPortableDeviceValues *client_information) { +static IPortableDevice *open_device(const wchar_t *pnp_id, IPortableDeviceValues *client_information) { // {{{ IPortableDevice *device = NULL; HRESULT hr; @@ -124,9 +124,9 @@ static IPortableDevice *open_device(const wchar_t *pnp_id, IPortableDeviceValues return device; -} +} // }}} -static PyObject* get_device_information(IPortableDevice *device) { +static PyObject* get_device_information(IPortableDevice *device) { // {{{ IPortableDeviceContent *content = NULL; IPortableDeviceProperties *properties = NULL; IPortableDeviceKeyCollection *keys = NULL; @@ -244,7 +244,8 @@ end: if (properties != NULL) properties->Release(); if (content != NULL) content->Release(); return ans; -} +} // }}} + // }}} // Module startup/shutdown {{{